mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Use a consistent naming scheme for operator privileges.
- users/callerid-override is now users/ignore-callerid. - users/privdeaf-override is now users/ignore-privdeaf.
This commit is contained in:
parent
b00451a85c
commit
cbb6b376c7
@ -1074,7 +1074,7 @@ Note that all /STATS use is broadcast to online IRC operators.">
|
||||
r Allows receipt of local oper commands (requires the operlog module).
|
||||
R Allows receipt of remote oper commands (requires the operlog module).
|
||||
t Allows receipt of attempts to use /STATS (local and remote).
|
||||
v Allows receipt of oper-override notices (requires the override module).
|
||||
v Allows receipt of oper override notices (requires the override module).
|
||||
x Allows receipt of local X-line notices (G/Z/Q/K/E/R/SHUN/CBan).
|
||||
X Allows receipt of remote X-line notices (G/Z/Q/K/E/R/SHUN/CBan).">
|
||||
|
||||
|
@ -30,13 +30,13 @@
|
||||
# - 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/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).
|
||||
# - users/flood/no-throttle: allows opers with this priv to send commands without being throttled (*NOTE).
|
||||
# - users/flood/increased-buffers: allows opers with this priv to send and receive data without worrying about being disconnected for exceeding limits (*NOTE).
|
||||
# - users/callerid-override: allows opers with this priv to message people using callerid without being on their callerid list.
|
||||
# - users/ignore-callerid: allows opers with this priv to message people using callerid without being on their callerid list.
|
||||
# - users/ignore-commonchans: allows opers with this priv to send a message to a +c user without sharing common channels.
|
||||
# - users/ignore-noctcp: allows opers with this priv to send a CTCP to a +T user.
|
||||
# - users/privdeaf-override: allows opers with this priv to message users with +D set.
|
||||
# - users/ignore-privdeaf: allows opers with this priv to message users with +D set.
|
||||
# - users/sajoin-others: allows opers with this priv to /SAJOIN users other than themselves.
|
||||
# - servers/use-disabled-commands: allows opers with this priv to use disabled commands.
|
||||
# - servers/use-disabled-modes: allows opers with this priv to use disabled modes.
|
||||
|
@ -406,7 +406,7 @@ public:
|
||||
if (!dest->IsModeSet(myumode) || (user == dest))
|
||||
return MOD_RES_PASSTHRU;
|
||||
|
||||
if (user->HasPrivPermission("users/callerid-override"))
|
||||
if (user->HasPrivPermission("users/ignore-callerid"))
|
||||
return MOD_RES_PASSTHRU;
|
||||
|
||||
callerid_data* dat = cmd.extInfo.get(dest, true);
|
||||
|
@ -131,7 +131,7 @@ class ModuleDeaf : public Module
|
||||
if (!privdeafuline && user->server->IsULine())
|
||||
return MOD_RES_DENY;
|
||||
|
||||
if (!user->HasPrivPermission("users/privdeaf-override"))
|
||||
if (!user->HasPrivPermission("users/ignore-privdeaf"))
|
||||
return MOD_RES_DENY;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user