diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-05 19:19:06 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-05 19:19:06 +0000 |
commit | c2e74da7a8fb5f2421dfca91234e7f595ab09acc (patch) | |
tree | 1446a3986f66f630115a06b5cfc940d9760842a0 /src | |
parent | fcff62668fc2f0fcdade711725bacc4faa695f88 (diff) |
- 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
Diffstat (limited to 'src')
-rw-r--r-- | src/whowas.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |