[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Squelching PART/QUIT messages from people without voice



Announcing final version of the silent part patch idea I was working on. 

After applying the patch (to 2.10.3), there will now be 3 extra defines 
listed in the config.h (look for them just before the STOP STOP STOP 
STOP stuff near the bottom.)

#define SP_NO_PART_MESSAGE   <-- define to disallow part messages from a 
                                 moderated person reaching people on
                                 your server.
#define SP_NO_QUIT_MESSAGE   <-- define to disallow quit messages from a
                                 moderated person, as above. A PART
                                 message will be substituted.
#define SP_NO_NICK_CHANGE    <-- define this, and people on your server
                                 cannot change nick if they're on one or
                                 more channels where they
                                 don't have the power of speech. This
                                 test uses no extra CPU.

If you don't like any of these - just #undef them, as normal. Although
applying the patch then undefining all three doesn't make too much
sense...<g>

Anyway - hope this may be of some use to somebody (anybody?). Email me
if anyone wants it, even just to play around with.

Bye for now,

(Wull@IRCnet)

Btw - ideas for improvements, etc are welcome too...