X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/4355dbd3c9e2325c97dd464c78360edf4a957ade..853058531aa2387ce1e8ab77ec9b416e70c6bffa:/include/s_newconf.h diff --git a/include/s_newconf.h b/include/s_newconf.h index 03e887d..cdaadb7 100644 --- a/include/s_newconf.h +++ b/include/s_newconf.h @@ -99,7 +99,7 @@ struct remote_conf #define SHARED_ALL (SHARED_TKLINE | SHARED_PKLINE | SHARED_UNKLINE |\ SHARED_PXLINE | SHARED_TXLINE | SHARED_UNXLINE |\ - SHARED_TRESV | SHARED_PRESV | SHARED_UNRESV) + SHARED_TRESV | SHARED_PRESV | SHARED_UNRESV | SHARED_REHASH) #define CLUSTER_ALL (SHARED_ALL | SHARED_LOCOPS) /* flags used in hub/leaf */ @@ -119,6 +119,10 @@ struct oper_conf unsigned int snomask; + char *vhost; + char *swhois; + char *operstring; + struct PrivilegeSet *privset; #ifdef HAVE_LIBCRYPTO @@ -162,6 +166,7 @@ extern void cluster_generic(struct Client *, const char *, int cltype, #define IsOperAdmin(x) (HasPrivilege((x), "oper:admin") || HasPrivilege((x), "oper:hidden_admin")) #define IsOperOperwall(x) (HasPrivilege((x), "oper:operwall")) #define IsOperSpy(x) (HasPrivilege((x), "oper:spy")) +#define IsOperOverride(x) (HasPrivilege((x), "oper:override")) #define IsOperInvis(x) (HasPrivilege((x), "oper:hidden")) #define IsOperRemoteBan(x) (HasPrivilege((x), "oper:remoteban")) #define IsOperMassNotice(x) (HasPrivilege((x), "oper:mass_notice"))