]> jfr.im git - irc/quakenet/newserv.git/blobdiff - nick/nickhandlers.c
patricia trie changes
[irc/quakenet/newserv.git] / nick / nickhandlers.c
index 3c514e410f1a1b3f3857011aa6bbc4aafe43b487..7a7cfacefa10b329d46cf286fa31eb0d9845bb80 100644 (file)
@@ -141,7 +141,7 @@ int handlenickmsg(void *source, int cargc, char **cargv) {
     base64toip(cargv[cargc-3], &ipaddress);
     /* todo: use a single node for /64 prefixes */
     np->ipnode = refnode(iptree, &ipaddress, irc_in_addr_is_ipv4(&ipaddress) ? PATRICIA_MAXBITS : 64);
-    np->ipnode->usercount++;
+    node_increment_usercount(np->ipnode);
 
     np->shident=NULL;
     np->sethost=NULL;