]> jfr.im git - irc/evilnet/x3.git/commitdiff
Added missing Nefarious 2 IRCop privs
authorMatthew Beeching <redacted>
Sun, 4 May 2014 14:53:52 +0000 (15:53 +0100)
committerMatthew Beeching <redacted>
Sun, 4 May 2014 14:53:52 +0000 (15:53 +0100)
src/hash.h
src/proto-p10.c

index 9f1f5e47bda097077ec441c24cccf29dfcac1bb3..66e9419ee4f2d2bd32d5ccd39637170ba0e402ee 100644 (file)
@@ -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 */
 };
 
index 0cb26091b7b7ce5a65caff3ffab2faee4652ed7e..ff115bafea173562154d00fe1e0674c6bdaead89 100644 (file)
@@ -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 }
 };