From 9dd98618d044c63ba4d30c79350f4b6a4a2c3453 Mon Sep 17 00:00:00 2001 From: David Schultz Date: Fri, 1 Apr 2022 16:58:43 -0500 Subject: [PATCH] whowas.c: store account name in whowas (#323) Co-authored-by: Eric Mertens --- ircd/whowas.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ircd/whowas.c b/ircd/whowas.c index 26146145..7ee4f299 100644 --- a/ircd/whowas.c +++ b/ircd/whowas.c @@ -112,6 +112,7 @@ whowas_add_history(struct Client *client_p, int online) rb_strlcpy(who->hostname, client_p->host, sizeof(who->hostname)); rb_strlcpy(who->realname, client_p->info, sizeof(who->realname)); rb_strlcpy(who->sockhost, client_p->sockhost, sizeof(who->sockhost)); + rb_strlcpy(who->suser, client_p->user->suser, sizeof(who->suser)); who->flags = (IsIPSpoof(client_p) ? WHOWAS_IP_SPOOFING : 0) | (IsDynSpoof(client_p) ? WHOWAS_DYNSPOOF : 0);