diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-07 22:02:46 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-07 22:02:46 +0000 |
commit | 5fb4537721d03835a8f3c3c7b989a258b7c5e91c (patch) | |
tree | 5fe4f4a32f629911e89a24732eff515088855d73 | |
parent | f78a6a90b194acfbabe61795470cabbdc36a32f4 (diff) |
Show server kills with correct origin, UNLESS hidden server in whois is set
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9405 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/channels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index effc47d73..00b39c3c0 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -539,7 +539,7 @@ long Channel::ServerKickUser(User* user, const char* reason, bool triggerevents, } } - if (servername == NULL) + if (servername == NULL || ServerInstance->Config->HideWhoisServer) servername = ServerInstance->Config->ServerName; if (triggerevents) |