]> jfr.im git - solanum.git/blobdiff - include/s_newconf.h
Get rid of flags2.
[solanum.git] / include / s_newconf.h
index b23c6364d56e867f3e4cd9caa2f157f87c51ad2f..a1858b7f8724b08e11d1d2f24a6723db972480ba 100644 (file)
@@ -138,11 +138,11 @@ extern void propagate_generic(struct Client *source_p, const char *command,
 extern void cluster_generic(struct Client *, const char *, int cltype,
                        int cap, const char *format, ...);
 
-#define OPER_ENCRYPTED 0x00001
-#define OPER_NEEDSSL    0x80000
-/* 0x400000 and above are in client.h */
+/* Other client flags are in client.h */
+#define OPER_ENCRYPTED 0x10000000
+#define OPER_NEEDSSL   0x20000000
 
-#define OPER_FLAGS     0 /* no oper privs in Client.flags2/oper_conf.flags currently */
+#define OPER_FLAGS     0        /* no oper privs in Client.flags/oper_conf.flags currently */
 
 #define IsOperConfEncrypted(x) ((x)->flags & OPER_ENCRYPTED)
 #define IsOperConfNeedSSL(x)   ((x)->flags & OPER_NEEDSSL)