aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Herman2021-06-12 07:59:13 +0300
committerGravatar GitHub2021-06-12 05:59:13 +0100
commit96e0f18f7faf7bf590c311cd0b63725c64fb4800 (patch)
tree0edba3211652ac7b72834f415bcc042504cc4cad /src/users.cpp
parentUse /run/inspircd as the runtime directory on Linux. (diff)
Code refactor and minor fix (#1879)
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 289411239..afaa22083 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1248,9 +1248,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(ConfigTag* tag, char t, const std::string& mask)