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:
Peter Powell 2019-04-04 15:09:23 +01:00
parent b00451a85c
commit cbb6b376c7
4 changed files with 6 additions and 6 deletions

View File

@ -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 local oper commands (requires the operlog module).
R Allows receipt of remote 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). 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 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)."> X Allows receipt of remote X-line notices (G/Z/Q/K/E/R/SHUN/CBan).">

View File

@ -30,13 +30,13 @@
# - channels/ignore-noctcp: allows opers with this priv to send a CTCP to a +C channel. # - 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-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. # - 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-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/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/ignore-callerid: allows opers with this priv to message people using callerid without being on their callerid list.
# - users/callerid-override: 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-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/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. # - 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-commands: allows opers with this priv to use disabled commands.
# - servers/use-disabled-modes: allows opers with this priv to use disabled modes. # - servers/use-disabled-modes: allows opers with this priv to use disabled modes.

View File

@ -406,7 +406,7 @@ public:
if (!dest->IsModeSet(myumode) || (user == dest)) if (!dest->IsModeSet(myumode) || (user == dest))
return MOD_RES_PASSTHRU; return MOD_RES_PASSTHRU;
if (user->HasPrivPermission("users/callerid-override")) if (user->HasPrivPermission("users/ignore-callerid"))
return MOD_RES_PASSTHRU; return MOD_RES_PASSTHRU;
callerid_data* dat = cmd.extInfo.get(dest, true); callerid_data* dat = cmd.extInfo.get(dest, true);

View File

@ -131,7 +131,7 @@ class ModuleDeaf : public Module
if (!privdeafuline && user->server->IsULine()) if (!privdeafuline && user->server->IsULine())
return MOD_RES_DENY; return MOD_RES_DENY;
if (!user->HasPrivPermission("users/privdeaf-override")) if (!user->HasPrivPermission("users/ignore-privdeaf"))
return MOD_RES_DENY; return MOD_RES_DENY;
} }