summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/channels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 00b39c3c0..b9dad3a7c 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 || ServerInstance->Config->HideWhoisServer)
+ if (servername == NULL || *ServerInstance->Config->HideWhoisServer)
servername = ServerInstance->Config->ServerName;
if (triggerevents)