]> jfr.im git - irc/quakenet/newserv.git/blobdiff - nick/nick.h
newsearch: Fix reason operator (again).
[irc/quakenet/newserv.git] / nick / nick.h
index 9d1b199abe62c0f53bf52b701982aa840b6cbdba..4149a1aecbeeaef35840038a7d6fce86cd968748 100644 (file)
@@ -145,6 +145,7 @@ typedef struct nick {
   time_t timestamp;
   time_t accountts;
   sstring *away;
+  struct irc_in_addr ipaddress;
   patricia_node_t *ipnode;
   unsigned int cloak_count;
   struct nick *cloak_extra;
@@ -158,8 +159,6 @@ typedef struct nick {
   void *exts[MAXNICKEXTS];
 } nick;
 
-#define p_ipaddr ipnode->prefix->sin
-
 #define NICKHASHSIZE      60000
 #define HOSTHASHSIZE      40000
 #define REALNAMEHASHSIZE  40000