From 5fb4537721d03835a8f3c3c7b989a258b7c5e91c Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 7 Apr 2008 22:02:46 +0000 Subject: 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 --- src/channels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3