summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-14 00:03:00 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-14 00:03:00 +0000
commit214c62fd773c22a3f83a19bc8f44285464c249d9 (patch)
tree92cb56417ffde62cf7c440a4ea9ee2844c216832
parent01bc8468e3fc3040a9ed18809a1a72c187f98623 (diff)
Fix r11381 checking HideWhoisServer incorrectly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11384 e03df62e-2008-0410-955e-edbf42e46eb7
-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;
}