]> jfr.im git - irc/quakenet/newserv.git/blobdiff - whowas/whowas.c
Add documentation files.
[irc/quakenet/newserv.git] / whowas / whowas.c
index b79fcb7deca0642036edb949a807bac8c656f25e..c2cece6d743f41be19dd10763a06871e9545faf4 100644 (file)
@@ -172,7 +172,7 @@ const char *whowas_format(whowas *ww) {
   snprintf(hostmask, sizeof(hostmask), "%s!%s@%s%s%s [%s] (%s)",
            np->nick, np->ident, np->host->name->content,
            np->auth ? "/" : "", np->auth ? np->authname : "",
-           IPtostr(np->p_ipaddr),
+           IPtostr(np->ipaddress),
            printflags(np->umodes, umodeflags));
   strftime(timebuf, sizeof(timebuf), "%d/%m/%y %H:%M:%S", localtime(&(ww->timestamp)));