X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/df7819d997edca47cb4632196e4fa2a1fbbe14ef..0b401fb654b69fd9649954a9bdd5ff041971e62d:/src/hash.h?ds=inline diff --git a/src/hash.h b/src/hash.h index 9f1f5e4..2e81f25 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 */ }; @@ -387,6 +392,8 @@ extern unsigned int max_clients, invis_clients; extern time_t max_clients_time; extern struct userList curr_opers, curr_helpers; +extern unsigned int count_opers; + struct server* GetServerH(const char *name); /* using full name */ struct userNode* GetUserH(const char *nick); /* using nick */ struct chanNode* GetChannel(const char *name);