mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Add the channels/ignore-repeat priv to exempt opers from +E.
This commit is contained in:
parent
9ded26fce8
commit
890da482ef
@ -29,6 +29,7 @@
|
||||
# PERMISSIONS:
|
||||
# - channels/ignore-noctcp: allows opers with this priv to send a CTCP to a +C channel.
|
||||
# - channels/ignore-nonicks: allows opers with this priv to change their nick when on a +N channel.
|
||||
# - channels/ignore-repeat: allows opers with this priv to be immune to repeat punishment on a +E channel.
|
||||
# - channels/restricted-create: allows opers with this priv to create channels if the restrictchans module is loaded.
|
||||
# - users/flood/increased-buffers: allows opers with this priv to send and receive data without worrying about being disconnected for exceeding limits (*NOTE).
|
||||
# - users/flood/no-fakelag: prevents opers from being penalized with fake lag for flooding (*NOTE).
|
||||
|
@ -396,6 +396,9 @@ class RepeatModule : public Module
|
||||
if (res == MOD_RES_ALLOW)
|
||||
return MOD_RES_PASSTHRU;
|
||||
|
||||
if (user->HasPrivPermission("channels/ignore-repeat"))
|
||||
return MOD_RES_PASSTHRU;
|
||||
|
||||
if (rm.MatchLine(memb, settings, details.text))
|
||||
{
|
||||
if (settings->Action == ChannelSettings::ACT_BLOCK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user