aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 602d44c8c..f96c95a9d 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1208,14 +1208,12 @@ void User::WriteNotice(const std::string& text)
const std::string& FakeUser::GetFullHost()
{
- if (!ServerInstance->Config->HideServer.empty())
- return ServerInstance->Config->HideServer;
- return server->GetName();
+ return server->GetPublicName();
}
const std::string& FakeUser::GetFullRealHost()
{
- return GetFullHost();
+ return server->GetPublicName();
}
ConnectClass::ConnectClass(std::shared_ptr<ConfigTag> tag, char t, const std::vector<std::string>& masks)