aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-06-13 14:46:41 +0100
committerGravatar Sadie Powell2021-06-13 14:46:41 +0100
commit7fa0672ebde614218a18600686370ac234e67bf0 (patch)
treefd8933975ec00af7373b890d0171f7350fab6f83 /src/users.cpp
parentFix undefined behaviour with converting a path to a string. (diff)
parentPoint to the license on the docs site not to the GNU website. (diff)
Merge branch 'insp3' into master.
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)