diff options
| author | 2021-06-13 14:46:41 +0100 | |
|---|---|---|
| committer | 2021-06-13 14:46:41 +0100 | |
| commit | 7fa0672ebde614218a18600686370ac234e67bf0 (patch) | |
| tree | fd8933975ec00af7373b890d0171f7350fab6f83 /src/users.cpp | |
| parent | Fix undefined behaviour with converting a path to a string. (diff) | |
| parent | Point 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.cpp | 4 |
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) |
