summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd_ison.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_ison.cpp b/src/cmd_ison.cpp
index 9f415e7fb..1f177d230 100644
--- a/src/cmd_ison.cpp
+++ b/src/cmd_ison.cpp
@@ -54,7 +54,7 @@ CmdResult cmd_ison::Handle (const char** parameters, int pcnt, userrec *user)
std::string item = "*";
while (((item = list.GetToken()) != ""))
{
- u = ServerInstance->FindNick(parameters[i]);
+ u = ServerInstance->FindNick(item);
if (ison_already.find(u) != ison_already.end())
continue;