]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/hash.h
Fixed binding of opserv.trace to different service nick, as well as gtrace, csearch...
[irc/evilnet/x3.git] / src / hash.h
index 8ee04e3cb383f4b0da99a4c40da0258f4fa6cd25..7957ee1b1f636b31e28d4208d0262aef2961a5db 100644 (file)
@@ -50,6 +50,7 @@
 #define MODE_SSLONLY            0x00400000 /* +Z ssl only */
 #define MODE_HALFOP             0x00800000 /* +h USER */
 #define MODE_EXEMPT             0x01000000 /* +e exempt */
+#define MODE_HIDEMODE          0x02000000 /* +L hide modes */
 #define MODE_REMOVE             0x80000000
 
 #define FLAGS_OPER             0x0001 /* Operator +O */
@@ -98,7 +99,7 @@
 #define NICKLEN         30
 #define USERLEN         10
 #define HOSTLEN         63
-#define ACCOUNTLEN     15
+#define ACCOUNTLEN      15
 #define REALLEN         50
 #define TOPICLEN        250
 #define CHANNELLEN      200
@@ -127,6 +128,7 @@ struct userNode {
     char numeric[COMBO_NUMERIC_LEN+1];
     unsigned int num_local : 18;
 #endif
+    unsigned int loc;             /* Is user connecting via LOC? */
     unsigned int dead : 1;        /* Is user waiting to be recycled? */
     struct in_addr ip;            /* User's IP address */
     long modes;                   /* user flags +isw etc... */