This shit can halp you prevent highlight spam on your entire network. =] It keeps track of a user's messages on a per-channel basis and checks if they highlight one person too many times or too many different persons at once. Opers and U-Lines are exempt (as per usual), but also those with list modes +a
and +q
. ;3 When someone hits the threshold, a message will be sent to the block_masshighlight.BLOCK_MASSHIGHLIGHT_OPERMSG
log event.
In some cases you might wanna exclude a certain channel from these checks, in which case you can use channel mode +B
. This can be useful for quiz/game channels.
Couple o' thangs to keep in mind:
/names
and won't exclude themselvesConfig block:
The module doesn't necessarily require any configuration, it uses the following block as defaults
block_masshighlight {
maxnicks 5;
delimiters " ,.-_/\:;";
action gline;
duration 7d;
reason "No mass highlighting allowed";
snotice 1;
banident 1;
multiline 0;
allow_authed 0;
//allow_accessmode o;
percent 1;
show_opers_origmsg 1;
};
action
setting in) -- works in conjunction with percent
drop
(drop silently [for the offender]), notice
(drop, but do show notice to them), gline
, zline
, shun
, tempshun
, kill
, viruschan
gline
, zline
or shun
for, is a "timestring" like 7d
, 1h5m20s
, etcblock_masshighlight.BLOCK_MASSHIGHLIGHT_DETECTED
log event when users cross the highlight threshold, must be 0
or 1
(this only affects messages from the module indicating what action it'll take)1
it will ban ident@iphost
, otherwise *@iphost
(useful for shared ZNCs etc)1
it will keep counting highlights until it encounters a line without one1
it will let logged-in users bypass this shitvhoaq
(or omitted entirely for no exceptions [the default]), exempts everyone with at minimum the specified mode from highlight checks (e.g. a
includes people with +q
)delimiters
(e.g. hi nick
would be 67%) -- works in conjunction with maxnicks
block_masshighlight.BLOCK_MASSHIGHLIGHT_OPERMSG
log event (this is entirely separate from the snotice
option)If you omit a directive which is required for a certain action
, you'll get a warning and it will proceed to use the default. It should be pretty clear what directives are required in what cases imo tbh famalam. ;];]