X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/0a0cd49a694ed8d21b2f91c56508c298cc9e0b13..3e1b768066a16c4b899b9cbdd7911be883151a05:/newsearch/ns-ip.c diff --git a/newsearch/ns-ip.c b/newsearch/ns-ip.c index 16c4d900..5bd84e5c 100644 --- a/newsearch/ns-ip.c +++ b/newsearch/ns-ip.c @@ -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) {