diff options
| author | 2021-06-12 07:59:13 +0300 | |
|---|---|---|
| committer | 2021-06-12 05:59:13 +0100 | |
| commit | 96e0f18f7faf7bf590c311cd0b63725c64fb4800 (patch) | |
| tree | 0edba3211652ac7b72834f415bcc042504cc4cad /src/users.cpp | |
| parent | Use /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.cpp | 4 |
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) |
