aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 73a6f16c7..b24a4d20d 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1207,9 +1207,7 @@ const std::string& FakeUser::GetFullHost()
const std::string& FakeUser::GetFullRealHost()
{
- if (!ServerInstance->Config->HideServer.empty())
- return ServerInstance->Config->HideServer;
- return server->GetName();
+ return GetFullHost();
}
ConnectClass::ConnectClass(std::shared_ptr<ConfigTag> tag, char t, const std::vector<std::string>& masks)