]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_names.cpp
kick_channel -> chanrec::KickUser(), server_kick_channel -> chanrec::ServerKickUser()
[user/henk/code/inspircd.git] / src / cmd_names.cpp
index 7857449f27d1bea83fff9616dc2238360c2381b7..ca0ded5493748fd3966aa65face18cc1995c2cc6 100644 (file)
@@ -22,7 +22,7 @@
 
 extern InspIRCd* ServerInstance;
 
-void cmd_names::Handle (char **parameters, int pcnt, userrec *user)
+void cmd_names::Handle (const char** parameters, int pcnt, userrec *user)
 {
        chanrec* c;
 
@@ -32,8 +32,9 @@ void cmd_names::Handle (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)
        {