X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..420b2c9a104d9aa7c232345614b8103292600678:/src/whowas.c diff --git a/src/whowas.c b/src/whowas.c index 01279f7..880826f 100644 --- a/src/whowas.c +++ b/src/whowas.c @@ -39,6 +39,7 @@ #include "send.h" #include "s_conf.h" #include "memory.h" +#include "scache.h" /* internally defined function */ static void add_whowas_to_clist(struct Whowas **, struct Whowas *); @@ -86,7 +87,7 @@ void add_history(struct Client *client_p, int online) else who->sockhost[0] = '\0'; - who->servername = client_p->user->server; + who->servername = scache_get_name(client_p->servptr->serv->nameinfo); if(online) {