summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 5e27469e9..58948e21f 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -2053,14 +2053,14 @@ void FakeUser::SetFakeServer(std::string name)
const std::string FakeUser::GetFullHost()
{
- if (ServerInstance->Config->HideWhoisServer)
+ if (*ServerInstance->Config->HideWhoisServer)
return ServerInstance->Config->HideWhoisServer;
return nick;
}
const std::string FakeUser::GetFullRealHost()
{
- if (ServerInstance->Config->HideWhoisServer)
+ if (*ServerInstance->Config->HideWhoisServer)
return ServerInstance->Config->HideWhoisServer;
return nick;
}