From c2e74da7a8fb5f2421dfca91234e7f595ab09acc Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 5 Jan 2014 19:19:06 +0000 Subject: - Fixed server name leak for hidden servers in /who, /whois and /whowas git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2747 82007160-df01-0410-b94d-b575c5fd34c7 --- src/whowas.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/whowas.c b/src/whowas.c index 326d7d3..7e0b288 100644 --- a/src/whowas.c +++ b/src/whowas.c @@ -64,6 +64,7 @@ whowas_add_history(struct Client *client_p, const int online) } who->hashv = strhash(client_p->name); + who->shide = IsHidden(client_p->servptr) != 0; who->logoff = CurrentTime; strlcpy(who->name, client_p->name, sizeof(who->name)); -- cgit