Code: Select all
suspend-ignore "#Support";
suspend-auto-join "#Conference";
Code: Select all
suspend-ignore "#Support";
suspend-auto-join "#Conference";
Code: Select all
[22:50] -irc.SummitIRC.com- *** chevyman2002 suspended the mask *@192.168.192.1 at Thu Aug 18 01:30:57 2011 (reason: Just testing the command and posting output...)
[22:50] * Parts: chevy ([email protected]) (User has been suspended (Just testing the command and posting output...))
Code: Select all
[22:50] -irc.SummitIRC.com- *** You have been suspended (Just testing the command and posting output...)
[22:50] -irc.SummitIRC.com- *** You were forced to join #Conference
[22:50] * Now talking in #Conference
[22:50] * irc.SummitIRC.com sets mode: +U
Code: Select all
[22:53] -irc.SummitIRC.com- *** You were forced to join #Conference (You are not allowed to leave that channel)
[22:53] * Now talking in #Conference
Code: Select all
(What Opers see..)
[22:54] -irc.SummitIRC.com- *** Suspended user chevy (*@192.168.192.1) just connected to the network!
Code: Select all
[22:56] -irc.SummitIRC.com- 1) *@192.168.192.1 set by chevyman2002 on Thu Aug 18 01:30:57 2011 (reason: Just testing the command and posting output...)
[22:56] -irc.SummitIRC.com- End of suspension list [1 match displayed]
Code: Select all
(What opers see)
[22:57] -irc.SummitIRC.com- *** chevyman2002 removed suspension for the mask *@192.168.192.1 (set by chevyman2002 at Thu Aug 18 01:30:57 2011 - reason: Just testing the command and posting output...)
(What the user sees)
[22:57] * chevy sets mode: -U
[22:57] -irc.SummitIRC.com- *** You are no longer suspended
I've used it (a long time ago) to force a user, that started spamming a website, into the set channel as they would /part when i /sajoin'd them to a private area until I explained that they couldn't spam and sent them on their way. Now, when they are suspended, they cannot talk to other people in query (PM) or otherwise. All communication is blocked for them unless they are trying to PM an IRCOp or talking in the channel(s) whitelisted in your configuration. Also, the suspensions do not automatically expire. They are permanent when set until someone manually removes them.n0kS wrote:I think this is a very useful module. That way, people that spam channels or whatever can be suspended, and that way he can still visit 1 channel where he can chat with other people (like ##spam-channel , etc) and still can /query other people he knows, until his suspension expire. The gline option is still there but sometimes that's a very severe decision.
I'll test it when I got the chance. Thank you for doing it!
Code: Select all
cl /LDd /MD /Zi /D USE_SSL /D USE_LIBCURL /J /Fesrc/modules/ /Fosrc/modules/ /nologo /I ""D:\unreal\dev\tre"" /I ""D:\unreal\dev\c-ares"" /I ""d:\unreal\dev\curl\include"" /I ""d:\unreal\dev\openssl\include"" /I ./INCLUDE /D DYNAMIC_LINKING /D NOSPOOF /D MODULE_COMPILE /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _USE_32BIT_TIME_T src/modules/courtroom.c /link /def:src/modules/module.def wircd.lib ws2_32.lib /LIBPATH:""D:\unreal\dev\tre\win32\release"" "tre.lib" /LIBPATH:""D:\unreal\dev\c-ares\vc\cares\dll-release"" /LIBPATH:""d:\unreal\dev\openssl\out32dll"" ssleay32.lib libeay32.lib /LIBPATH:""d:\unreal\dev\curl\lib\dll-release"" libcurl_imp.lib /OUT:src/modules/courtroom.dll
courtroom.c
src/modules/courtroom.c(93) : warning C4005: 'IsSkoAdmin' : macro redefinition
D:\Unreal\INCLUDE\struct.h(693) : see previous definition of 'IsSkoAdmin'
src/modules/courtroom.c(522) : warning C4113: 'iFP' differs in parameter lists from 'int (__cdecl *)(aClient *,int)'
Creating library src/modules/courtroom.lib and object src/modules/courtroom.exp
courtroom.obj : error LNK2019: unresolved external symbol _m_part referenced in function_set_quarantine
Code: Select all
src/modules/courtroom.c(93) : warning C4005: 'IsSkoAdmin' : macro redefinition
D:\Unreal\INCLUDE\struct.h(693) : see previous definition of 'IsSkoAdmin'
src/modules/courtroom.c(522) : warning C4113: 'iFP' differs in parameter lists from 'int (__cdecl *)(aClient *,int)'
Creating library src/modules/courtroom.lib and object src/modules/courtroom.exp
courtroom.obj : error LNK2019: unresolved external symbol _m_part referenced in function_set_quarantine
Code: Select all
cl /LDd /MD /Zi /J /Fesrc/modules/ /Fosrc/modules/ /nologo /I "C:\un
real-windev\tre" /I "C:\unreal-windev\c-ares" /I ./INCLUDE /D DYNAMIC_LINKIN
G /D NOSPOOF /D MODULE_COMPILE /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DE
PRECATE /D _USE_32BIT_TIME_T src/modules/courtroom.c /link /def:src/modules/modu
le.def wircd.lib ws2_32.lib /LIBPATH:"C:\unreal-windev\tre\win32\release" tre.li
b /LIBPATH:"C:\unreal-windev\c-ares\vc\cares\dll-release" /OUT:src/modul
es/courtroom.dll
courtroom.c
src/modules/courtroom.c(518) : warning C4113: 'iFP' differs in parameter lists f
rom 'int (__cdecl *)(aClient *,int)'
src/modules/courtroom.c(1244) : warning C4133: 'function' : incompatible types -
from 'aClient *' to 'suspend *'
src/modules/courtroom.c(1245) : warning C4133: 'function' : incompatible types -
from 'aClient *' to 'QFlag *'
src/modules/courtroom.c(1318) : warning C4133: 'function' : incompatible types -
from 'unsigned char *' to 'aClient *'
Creating library src/modules/courtroom.lib and object src/modules/courtroom.e
xp
Code: Select all
[18:44] -win32.SummitIRC.com- There are currently no suspended users.
[18:44] -win32.SummitIRC.com- Syntax: SUSPEND [+|-]<mask|nick> <reason>
[18:45] -win32.SummitIRC.com- *** chevyman2002 suspended the mask *@192.168.1.123 at Mon Jan 02 00:25:39 2012 (reason: just testing with a semi-long reason, even though it should work just fine... ok here goes!!!)
[18:45] * Parts: test ([email protected]) (User has been suspended (just testing with a semi-long reason, even though it should work just fine... ok here goes!!!))
[19:02] -win32.SummitIRC.com- 1) *@192.168.1.123 set by chevyman2002 on Mon Jan 02 00:25:39 2012 (reason: just testing with a semi-long reason, even though it should work just fine... ok here goes!!!)
[19:02] -win32.SummitIRC.com- End of suspension list [1 match displayed]
Think you may have had an old copy or something?? Glad it's working though! I may compile all the modules I have the source code to into 3.2.9-release DLLs now that I have the win32 environment setup (that's the only reason I never released the DLLs to begin with; pain in the butt to get it all setup).Stealth wrote:Seems to work here now, don't know why it didn't before :\