diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-05 19:50:40 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-05 19:50:40 +0000 |
commit | 5234aca22c91100baf394e82984c569daee1ae8b (patch) | |
tree | 78dddc066483c30985086d9dd6ab9107c3fe9ce8 /src | |
parent | 8662e00977d9425e894b43bb1c3da3dd4345f5e2 (diff) |
Fixed to not show real server name if you have hiding of servernames in WHOIS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3472 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd_whowas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_whowas.cpp b/src/cmd_whowas.cpp index 8ec5c0957..10d0eeb7e 100644 --- a/src/cmd_whowas.cpp +++ b/src/cmd_whowas.cpp @@ -82,7 +82,7 @@ void cmd_whowas::Handle (char **parameters, int pcnt, userrec* user) b[strlen(b)-1] = '\0'; WriteServ(user->fd,"314 %s %s %s %s * :%s",user->nick,i->second->nick,i->second->ident,i->second->dhost,i->second->fullname); - WriteServ(user->fd,"312 %s %s %s :%s",user->nick,i->second->nick,i->second->server,b); + WriteServ(user->fd,"312 %s %s %s :%s",user->nick,i->second->nick, *Config->HideWhoisServer ? Config->HideWhoisServer : i->second->server,b); WriteServ(user->fd,"369 %s %s :End of WHOWAS",user->nick,parameters[0]); } |