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
This commit is contained in:
brain 2008-04-07 22:02:46 +00:00
parent f78a6a90b1
commit 5fb4537721

View File

@ -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)