summaryrefslogtreecommitdiff
path: root/src/commands/cmd_ison.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_ison.cpp')
-rw-r--r--src/commands/cmd_ison.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/cmd_ison.cpp b/src/commands/cmd_ison.cpp
index 1d92ad3ca..f964c7442 100644
--- a/src/commands/cmd_ison.cpp
+++ b/src/commands/cmd_ison.cpp
@@ -54,7 +54,7 @@ CmdResult CommandIson::Handle (const std::vector<std::string>& parameters, User
for (unsigned int i = 0; i < parameters.size(); i++)
{
- u = ServerInstance->FindNick(parameters[i]);
+ u = ServerInstance->FindNickOnly(parameters[i]);
if (ison_already.find(u) != ison_already.end())
continue;
@@ -79,7 +79,7 @@ CmdResult CommandIson::Handle (const std::vector<std::string>& parameters, User
while (list.GetToken(item))
{
- u = ServerInstance->FindNick(item);
+ u = ServerInstance->FindNickOnly(item);
if (ison_already.find(u) != ison_already.end())
continue;