X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/d0f04f713ca0b689f745842fcc9e61d24610f11a..acb6d53d17786553d48c54b74cf2b7df3e362227:/src/hash.h diff --git a/src/hash.h b/src/hash.h index 7e42a80..4558407 100644 --- a/src/hash.h +++ b/src/hash.h @@ -101,6 +101,7 @@ #define NICKLEN 30 #define USERLEN 10 #define HOSTLEN 63 +#define SOCKIPLEN 45 #define ACCOUNTLEN 15 #define REALLEN 50 #define TOPICLEN 250 @@ -127,6 +128,8 @@ struct userNode { char info[REALLEN + 1]; /* Free form additional client information */ char hostname[HOSTLEN + 1]; /* DNS name or IP address */ char fakehost[HOSTLEN + 1]; /* Assigned fake host */ + char crypthost[HOSTLEN + 30]; /* Crypted hostname */ + char cryptip[SOCKIPLEN + 30]; /* Crypted IP */ #ifdef WITH_PROTOCOL_P10 char numeric[COMBO_NUMERIC_LEN+1]; unsigned int num_local : 18; @@ -188,7 +191,7 @@ struct exemptNode { struct modeNode { struct chanNode *channel; struct userNode *user; - unsigned short modes; + long modes; short oplevel; time_t idle_since; };