diff options
Diffstat (limited to 'src/coremods/core_userhost.cpp')
-rw-r--r-- | src/coremods/core_userhost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_userhost.cpp b/src/coremods/core_userhost.cpp index 3100995a8..7ee093cdb 100644 --- a/src/coremods/core_userhost.cpp +++ b/src/coremods/core_userhost.cpp @@ -72,7 +72,7 @@ CmdResult CommandUserhost::Handle (const std::vector<std::string>& parameters, U retbuf += (u->IsAway() ? '-' : '+'); retbuf += u->ident; retbuf += '@'; - retbuf += (((u == user) || (has_privs)) ? u->host : u->dhost); + retbuf += u->GetHost(u == user || has_privs); retbuf += ' '; } } |