summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-07 22:02:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-07 22:02:46 +0000
commit5fb4537721d03835a8f3c3c7b989a258b7c5e91c (patch)
tree5fe4f4a32f629911e89a24732eff515088855d73 /src/channels.cpp
parentf78a6a90b194acfbabe61795470cabbdc36a32f4 (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
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp2
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)