From 214c62fd773c22a3f83a19bc8f44285464c249d9 Mon Sep 17 00:00:00 2001 From: danieldg Date: Thu, 14 May 2009 00:03:00 +0000 Subject: Fix r11381 checking HideWhoisServer incorrectly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11384 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 4 ++-- 1 file 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; } -- cgit v1.2.3