summaryrefslogtreecommitdiff
path: root/src/commands/cmd_userhost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_userhost.cpp')
-rw-r--r--src/commands/cmd_userhost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_userhost.cpp b/src/commands/cmd_userhost.cpp
index 102bb3d84..126b49ee4 100644
--- a/src/commands/cmd_userhost.cpp
+++ b/src/commands/cmd_userhost.cpp
@@ -50,7 +50,7 @@ CmdResult CommandUserhost::Handle (const std::vector<std::string>& parameters, U
for (unsigned int i = 0; i < parameters.size(); i++)
{
- User *u = ServerInstance->FindNick(parameters[i]);
+ User *u = ServerInstance->FindNickOnly(parameters[i]);
if ((u) && (u->registered == REG_ALL))
{