diff options
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index 9c295caad..5e27469e9 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -2051,6 +2051,20 @@ void FakeUser::SetFakeServer(std::string name) this->server = nick.c_str(); } +const std::string FakeUser::GetFullHost() +{ + if (ServerInstance->Config->HideWhoisServer) + return ServerInstance->Config->HideWhoisServer; + return nick; +} + +const std::string FakeUser::GetFullRealHost() +{ + if (ServerInstance->Config->HideWhoisServer) + return ServerInstance->Config->HideWhoisServer; + return nick; +} + VisData::VisData() { } |