]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_summon.cpp
Fix for parameters which contain a colon (which is not the first char in the string)
[user/henk/code/inspircd.git] / src / cmd_summon.cpp
index ff16592630f8cd1c3ff60b65e306d60d4b8dfd44..4a95d15ca17131b0c5f3fa87296ef2546951cb6a 100644 (file)
  */
 
 #include "users.h"
-#include "commands.h"
-#include "helperfuncs.h"
 #include "commands/cmd_summon.h"
 
-void cmd_summon::Handle (char **parameters, int pcnt, userrec *user)
+void cmd_summon::Handle (const char** parameters, int pcnt, userrec *user)
 {
-       WriteServ(user->fd,"445 %s :SUMMON has been disabled (depreciated command)",user->nick);
+       user->WriteServ("445 %s :SUMMON has been disabled (depreciated command)",user->nick);
 }