X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/ac3bdc8db9c628263a86035ede92b7e905e4c8a6..258d1427c70f88404b2ae4a06df410f5da464c76:/src/hash.h diff --git a/src/hash.h b/src/hash.h index 8ee04e3..7957ee1 100644 --- a/src/hash.h +++ b/src/hash.h @@ -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... */