]> jfr.im git - irc/quakenet/newserv.git/blobdiff - newsearch/ns-ip.c
CHANSERV: fix issue where chanserv_relay doesn't wait for db to be loaded before...
[irc/quakenet/newserv.git] / newsearch / ns-ip.c
index 16c4d90033390a21044f808d7d58fa9302c2519c..5bd84e5cb89d6d08750b0c62cb9222425f0a267c 100644 (file)
@@ -29,7 +29,7 @@ struct searchNode *ip_parse(searchCtx *ctx, int argc, char **argv) {
 void *ip_exe(searchCtx *ctx, struct searchNode *thenode, void *theinput) {
   nick *np = (nick *)theinput;
 
-  return (void *)IPtostr(np->p_ipaddr);
+  return (void *)IPtostr(np->ipaddress);
 }
 
 void ip_free(searchCtx *ctx, struct searchNode *thenode) {