]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/hash.h
svsnick and 1 param auth
[irc/evilnet/x3.git] / src / hash.h
index feae4757ce7aadc0f97176644e502cd3edae7a58..42faab75d57e1d2197807605bd295c57ddf8ff5c 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,
@@ -75,6 +75,8 @@
 #define FLAGS_HIDDEN_HOST       0x2000 /* user's host is masked by their account */
 #define FLAGS_REGNICK           0x4000 /* user owns their current nick */
 #define FLAGS_REGISTERING      0x8000 /* user has issued account register command, is waiting for email cookie */
+#define FLAGS_CLOAKHOST         0x10000 /* user has cloaked host */
+#define FLAGS_CLOAKIP           0x20000 /* user has cloaked ip */
 
 #define IsOper(x)               ((x)->modes & FLAGS_OPER)
 #define IsService(x)            ((x)->modes & FLAGS_SERVICE)
 #define REALLEN         50
 #define TOPICLEN        250
 #define CHANNELLEN      200
+#define MARKLEN         200
 #define MAXOPLEVEL      999
 
 #define MAXMODEPARAMS  6
@@ -209,6 +212,7 @@ 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 */