summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)