]> jfr.im git - solanum.git/blobdiff - src/whowas.c
Add target change spam notice.
[solanum.git] / src / whowas.c
index 36de9135737f3f8f862159410c60b5e24403e0b2..41dc9950ec67fc9ad207610c4991beb5129e87e2 100644 (file)
@@ -30,7 +30,7 @@
 #include "client.h"
 #include "common.h"
 #include "hash.h"
-#include "irc_string.h"
+#include "match.h"
 #include "ircd.h"
 #include "ircd_defs.h"
 #include "numeric.h"
@@ -81,6 +81,7 @@ void add_history(struct Client *client_p, int online)
        strcpy(who->username, client_p->username);
        strcpy(who->hostname, client_p->host);
        strcpy(who->realname, client_p->info);
+       strcpy(who->suser, client_p->user->suser);
        if (!EmptyString(client_p->sockhost) && strcmp(client_p->sockhost, "0") && show_ip(NULL, client_p))
                strcpy(who->sockhost, client_p->sockhost);
        else