#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 IsOperOverride(x) HasPrivilege(x, "oper:override")
#define IsOperMassNotice(x) (HasPrivilege((x), "oper:mass_notice"))
extern struct oper_conf *make_oper_conf(void);
extern const char *get_oper_privs(int flags);
-struct mode_table
-{
- const char *name;
- int mode;
-};
-
-struct oper_flags
-{
- int flag;
- const char *name;
- char has;
- char hasnt;
-};
-
struct server_conf
{
char *name;