From: Matthew Beeching Date: Sun, 4 May 2014 14:53:52 +0000 (+0100) Subject: Added missing Nefarious 2 IRCop privs X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/commitdiff_plain/57cd328b57fecc17ab23acb5ee3068e8a4fd736d?hp=b208a99e5d964b573b641cf0bd543aadd43580b5 Added missing Nefarious 2 IRCop privs --- diff --git a/src/hash.h b/src/hash.h index 9f1f5e4..66e9419 100644 --- a/src/hash.h +++ b/src/hash.h @@ -187,6 +187,11 @@ enum Priv { PRIV_REMOVE, /**< oper can force remove deactivated glines, shuns and zlines. */ PRIV_SPAMFILTER, /**< oper can set spamfilters via SPAMFILTER */ + PRIV_ADMIN, /**< oper is an IRC Admin */ + PRIV_APASS_OPMODE, /**< oper can use OPMODE to set/unset channel modes +A and +U */ + PRIV_HIDE_OPER, /**< oper can set/unset user mode +H */ + PRIV_REMOTE, /**< oper can use his/her operator block from a remote server */ + PRIV_SERVICE, /**< oper can set/unset user mode +k */ PRIV_LAST_PRIV /**< number of privileges */ }; diff --git a/src/proto-p10.c b/src/proto-p10.c index 0cb2609..ff115ba 100644 --- a/src/proto-p10.c +++ b/src/proto-p10.c @@ -1730,7 +1730,8 @@ static struct { P(SHUN), P(LOCAL_SHUN), P(WIDE_SHUN), P(ZLINE), P(LOCAL_ZLINE), P(WIDE_ZLINE), P(LIST_CHAN), P(WHOIS_NOTICE), P(HIDE_IDLE), P(XTRAOP), P(HIDE_CHANNELS), P(DISPLAY_MODE), - P(FREEFORM), P(REMOVE), P(SPAMFILTER), + P(FREEFORM), P(REMOVE), P(SPAMFILTER), P(ADMIN), + P(APASS_OPMODE), P(HIDE_OPER), P(REMOTE), P(SERVICE), #undef P { 0, 0 } };