X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/4d64f9c6792b3488be8f61c9b7f829603549e28b..3e1b768066a16c4b899b9cbdd7911be883151a05:/newsearch/formats.c diff --git a/newsearch/formats.c b/newsearch/formats.c index 7617bff9..edc0ebce 100644 --- a/newsearch/formats.c +++ b/newsearch/formats.c @@ -13,7 +13,7 @@ void printnick(searchCtx *ctx, nick *sender, nick *np) { char hostbuf[HOSTLEN+NICKLEN+USERLEN+4]; ctx->reply(sender,"%s [%s] (%s) (%s)",visiblehostmask(np,hostbuf), - IPtostr(np->p_ipaddr), printflags(np->umodes, umodeflags), np->realname->name->content); + IPtostr(np->ipaddress), printflags(np->umodes, umodeflags), np->realname->name->content); } void printnick_channels(searchCtx *ctx, nick *sender, nick *np) { @@ -152,4 +152,5 @@ void printuser(searchCtx *ctx, nick *sender, authname *aup) { void printwhowas(searchCtx *ctx, nick *sender, whowas *ww) { ctx->reply(sender,"%s", whowas_format(ww)); + ctx->reply(sender,"%s", whowas_formatchannels(ww)); }