diff options
author | Peter Powell <petpow@saberuk.com> | 2017-12-15 23:26:15 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-12-22 01:11:14 +0000 |
commit | e467fd0a6fc9ba97b2e2f31e654803a86bbb307f (patch) | |
tree | 5bd77f62832b7baac95223d9f320eb53e6c4b4bf /src/users.cpp | |
parent | 35a37bf46f2d2af8b346671de5d80d1073e5edb6 (diff) |
Rename <security:hidewhois> to <security:hideserver>.
The previous name was horrible and didn't describe what the setting
actually does.
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/users.cpp b/src/users.cpp index ead862b7d..b3546a134 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1163,15 +1163,15 @@ void User::PurgeEmptyChannels() const std::string& FakeUser::GetFullHost() { - if (!ServerInstance->Config->HideWhoisServer.empty()) - return ServerInstance->Config->HideWhoisServer; + if (!ServerInstance->Config->HideServer.empty()) + return ServerInstance->Config->HideServer; return server->GetName(); } const std::string& FakeUser::GetFullRealHost() { - if (!ServerInstance->Config->HideWhoisServer.empty()) - return ServerInstance->Config->HideWhoisServer; + if (!ServerInstance->Config->HideServer.empty()) + return ServerInstance->Config->HideServer; return server->GetName(); } |