X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/064e88556d07daa60142fd8b873d849508f86f5e..e02cc991bb9a7b9aac65b70d167002cea12bad46:/ircd/whowas.c diff --git a/ircd/whowas.c b/ircd/whowas.c index 62419535..7ee4f299 100644 --- a/ircd/whowas.c +++ b/ircd/whowas.c @@ -5,7 +5,7 @@ * Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center * Copyright (C) 1996-2002 Hybrid Development Team * Copyright (C) 2002-2012 ircd-ratbox development team - * Copyright (C) 2016 William Pitcock + * Copyright (C) 2016 Ariadne Conill * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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);