summaryrefslogtreecommitdiff
path: root/src/cmd_names.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_names.cpp')
-rw-r--r--src/cmd_names.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd_names.cpp b/src/cmd_names.cpp
index d25e7c5e6..ca0ded549 100644
--- a/src/cmd_names.cpp
+++ b/src/cmd_names.cpp
@@ -32,8 +32,9 @@ void cmd_names::Handle (const char** parameters, int pcnt, userrec *user)
return;
}
- if (ServerInstance->Parser->LoopCall(this,parameters,pcnt,user,0,pcnt-1,0))
+ if (ServerInstance->Parser->LoopCall(user, this, parameters, pcnt, 0))
return;
+
c = FindChan(parameters[0]);
if (c)
{