]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/hash.h
changing some errors to warnings
[irc/evilnet/x3.git] / src / hash.h
index 8bfee089aecad76a9e3cefcc6b5f5e32e76f61f6..976765062feb6c67bfb86afefdbc491d423f858f 100644 (file)
@@ -5,7 +5,7 @@
  *
  * x3 is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
 #define REALLEN         50
 #define TOPICLEN        250
 #define CHANNELLEN      200
+#define MARKLEN         20
 #define MAXOPLEVEL      999
 
 #define MAXMODEPARAMS  6
@@ -188,6 +189,7 @@ struct userNode {
     unsigned int num_local : 18;
 #endif
     unsigned int loc;             /* Is user connecting via LOC? */
+    unsigned int no_notice;       /* Does the users client not see notices? */
     unsigned int dead : 1;        /* Is user waiting to be recycled? */
     irc_in_addr_t ip;             /* User's IP address */
     long modes;                   /* user flags +isw etc... */
@@ -208,6 +210,8 @@ struct userNode {
     int dma_code;
     int area_code;
     
+    char *mark;                   /* only filled if they are marked */
+    char *version_reply;          /* only filled in if a version query was triggered */
 
     time_t timestamp;             /* Time of last nick change */
     struct server *uplink;        /* Server that user is connected to */