From 399b710cad0b9a96308e42ffc445f1abebb7cb7d Mon Sep 17 00:00:00 2001 From: Sam Dodrill Date: Thu, 14 Nov 2013 22:24:00 -0500 Subject: [PATCH] help/opers: Remove the old privs and replace with the new system --- help/opers/connect | 2 +- help/opers/credits | 1 + help/opers/die | 2 +- help/opers/dline | 2 +- help/opers/kill | 4 ++-- help/opers/kline | 2 +- help/opers/modlist | 2 +- help/opers/modload | 4 ++-- help/opers/modreload | 4 ++-- help/opers/modrestart | 4 ++-- help/opers/modunload | 2 +- help/opers/operwall | 2 +- help/opers/rehash | 4 ++-- help/opers/restart | 2 +- help/opers/squit | 2 +- help/opers/undline | 2 +- help/opers/unkline | 2 +- help/opers/unxline | 2 +- help/opers/wallops | 2 +- help/opers/xline | 8 ++++---- 20 files changed, 28 insertions(+), 27 deletions(-) diff --git a/help/opers/connect b/help/opers/connect index 929bfb8..c2326fa 100644 --- a/help/opers/connect +++ b/help/opers/connect @@ -1,7 +1,7 @@ CONNECT [port] [server_B] When [server_B] is used, CONNECT asks [server_B] to -connect to . Requires Oper Priv: R +connect to . Requires Oper Priv: oper:routing The [port] must be specified with [server_B], this is usually 6667. To use the default port in the connect diff --git a/help/opers/credits b/help/opers/credits index 5919dde..5f2628e 100644 --- a/help/opers/credits +++ b/help/opers/credits @@ -5,6 +5,7 @@ Help files were written by the following people: disasta David Daley Hwy101 W. Campbell larne Edward Brocklesby +lyska Sam Dodrill MoeBass anonymous screwedup Jonathan Roes zartik Daniel Hemmerich diff --git a/help/opers/die b/help/opers/die index 8fd7d4f..ec816e3 100644 --- a/help/opers/die +++ b/help/opers/die @@ -4,4 +4,4 @@ Terminates the IRC server. If a second server name is provided, remotely terminate that server. In this case, both server names must match. -- Requires Oper Priv: D +- Requires Oper Priv: oper:die diff --git a/help/opers/dline b/help/opers/dline index 4b6938f..e29ea3e 100644 --- a/help/opers/dline +++ b/help/opers/dline @@ -17,4 +17,4 @@ DLINE [duration] ON irc.server :[reason] [| oper reason] will dline the user on irc.server if irc.server accepts remote dlines. irc.server can contain wildcards. -- Requires Oper Priv: K +- Requires Oper Priv: oper:kline diff --git a/help/opers/kill b/help/opers/kill index 93153ff..3e617ff 100644 --- a/help/opers/kill +++ b/help/opers/kill @@ -3,5 +3,5 @@ KILL Disconnects user from the IRC server he/she is connected to with reason . -- Requires Oper Priv: C -- Requires Oper Priv: O for users not on your IRC server +- Requires Oper Priv: oper:local_kill +- Requires Oper Priv: oper:global_kill for users not on your IRC server diff --git a/help/opers/kline b/help/opers/kline index 705928b..0895e14 100644 --- a/help/opers/kline +++ b/help/opers/kline @@ -23,4 +23,4 @@ KLINE [duration] ON irc.server :[reason] [| oper reason] will kline the user on irc.server if irc.server accepts remote klines. irc.server can contain wildcards. -- Requires Oper Priv: K +- Requires Oper Priv: oper:kline diff --git a/help/opers/modlist b/help/opers/modlist index da4ce3c..adb1bce 100644 --- a/help/opers/modlist +++ b/help/opers/modlist @@ -11,4 +11,4 @@ shared priv on that server. If you're doing modlist on a remote server, a match string is required, but * will list all modules. -- Requires Oper Priv: A +- Requires Oper Priv: oper:admin diff --git a/help/opers/modload b/help/opers/modload index c6da8e3..2e47b70 100644 --- a/help/opers/modload +++ b/help/opers/modload @@ -6,8 +6,8 @@ from / or from the IRCD_PREFIX (ie modules/autoload/m_users.so) A server name may also be provided to load a module -on a remote server if you have the modules shared priv +on a remote server if you have the modules shared priv on that server. Wildcards for server name may also be used to load a module on multiple servers. -- Requires Oper Priv: A +- Requires Oper Priv: oper:admin diff --git a/help/opers/modreload b/help/opers/modreload index eb17b67..94fe40c 100644 --- a/help/opers/modreload +++ b/help/opers/modreload @@ -4,8 +4,8 @@ MODRELOAD [server.name] Use just the module name, the path is not needed. A server name may also be provided to reload a module -on a remote server if you have the modules shared priv +on a remote server if you have the modules shared priv on that server. Wildcards for server name may also be used to reload a module on multiple servers. -- Requires Oper Priv: A +- Requires Oper Priv: oper:admin diff --git a/help/opers/modrestart b/help/opers/modrestart index 49ae527..ee27909 100644 --- a/help/opers/modrestart +++ b/help/opers/modrestart @@ -5,8 +5,8 @@ All modules are unloaded, then those in modules/autoload are loaded A server name may also be provided to reload all modules -on a remote server if you have the modules shared priv +on a remote server if you have the modules shared priv on that server. Wildcards for server name may also be used to reload all modules on multiple servers. -- Requires Oper Priv: A +- Requires Oper Priv: oper:admin diff --git a/help/opers/modunload b/help/opers/modunload index b04faa0..5576f87 100644 --- a/help/opers/modunload +++ b/help/opers/modunload @@ -10,4 +10,4 @@ from a remote server if you have the modules shared priv on that server. Wildcards for server name may also be used to unload a module from multiple servers. -- Requires Oper Priv: A +- Requires Oper Priv: oper:admin diff --git a/help/opers/operwall b/help/opers/operwall index 55f49de..87d6e3c 100644 --- a/help/opers/operwall +++ b/help/opers/operwall @@ -3,4 +3,4 @@ OPERWALL : Sends an OPERWALL message of to all opers who are umode +z -- Requires Oper Priv: L +- Requires Oper Priv: oper:operwall diff --git a/help/opers/rehash b/help/opers/rehash index 709a90b..2226499 100644 --- a/help/opers/rehash +++ b/help/opers/rehash @@ -17,11 +17,11 @@ ircd.conf file. TRESVS - Clears temporary nick and channel resvs TXLINES - Clears temporary X Lines -- Requires Oper Priv: H +- Requires Oper Priv: oper:rehash REHASH [option] irc.server Rehashes [option], or the config file if none given, on irc.server if irc.server accepts remote rehashes. -- Requires Oper Priv: HB +- Requires Oper Privs: oper:rehash, oper:remoteban diff --git a/help/opers/restart b/help/opers/restart index 74eb237..d8a13fd 100644 --- a/help/opers/restart +++ b/help/opers/restart @@ -4,4 +4,4 @@ Restarts the IRC server. If a second server name is provided, remotely restart that server. In this case, both server names must match. -- Requires Oper Priv: D +- Requires Oper Priv: oper:admin diff --git a/help/opers/squit b/help/opers/squit index 30718de..8b080b7 100644 --- a/help/opers/squit +++ b/help/opers/squit @@ -1,4 +1,4 @@ SQUIT [reason] Splits away from your side of the net with [reason]. -- Requires Oper Priv: R for servers not connected to you +- Requires Oper Priv: oper:remote for servers not connected to you diff --git a/help/opers/undline b/help/opers/undline index b2b7b10..2f65696 100644 --- a/help/opers/undline +++ b/help/opers/undline @@ -2,4 +2,4 @@ UNDLINE Will attempt to undline the given -- Requires Oper Priv: U +- Requires Oper Priv: oper:unkline diff --git a/help/opers/unkline b/help/opers/unkline index ad1b9e6..83ee533 100644 --- a/help/opers/unkline +++ b/help/opers/unkline @@ -7,4 +7,4 @@ UNKLINE ON irc.server will unkline the user on irc.server if irc.server accepts remote unklines. -- Requires Oper Priv: U +- Requires Oper Priv: oper:unkline diff --git a/help/opers/unxline b/help/opers/unxline index fb556b8..3ce3f7e 100644 --- a/help/opers/unxline +++ b/help/opers/unxline @@ -7,4 +7,4 @@ UNXLINE ON Will attempt to unxline the given on . -- Requires Oper Priv: X +- Requires Oper Priv: oper:xline diff --git a/help/opers/wallops b/help/opers/wallops index 9eec6d2..a418610 100644 --- a/help/opers/wallops +++ b/help/opers/wallops @@ -5,4 +5,4 @@ who are umode +w (including non-opers). Server sent WALLOPS go to all opers who are umode +w. -- Requires Oper Priv: M +- Requires Oper Priv: oper:operwall diff --git a/help/opers/xline b/help/opers/xline index 7f7d8bf..6852946 100644 --- a/help/opers/xline +++ b/help/opers/xline @@ -1,7 +1,7 @@ XLINE [time] : Bans by gecos (aka 'real name') field. If [time] is not specified -this is added to the database, otherwise is temporary for [time] +this is added to the database, otherwise is temporary for [time] minutes. Eg. /quote xline eggdrop?bot :no bots @@ -12,12 +12,12 @@ The field contains certain special characters: @ - Match any letter [A-Za-z] # - Match any digit [0-9] -To use a literal one of these characters, escape it with '\'. A +To use a literal one of these characters, escape it with '\'. A literal '\' character must also be escaped. You may also insert \s which will be converted into a space. If the field is purely numeric (ie "123") then the time -field must be specified. "0" must be used to denote a permanent +field must be specified. "0" must be used to denote a permanent numeric XLINE. XLINE [time] ON : @@ -25,4 +25,4 @@ XLINE [time] ON : Will attempt to set the XLINE on if accepts remote xlines. -- Requires Oper Priv: X +- Requires Oper Priv: oper:xline