]> 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 004176b909b268f786fdd6c9965e3d73ef861c08..4a95d15ca17131b0c5f3fa87296ef2546951cb6a 100644 (file)
  */
 
 #include "users.h"
-#include "commands.h"
-#include "helperfuncs.h"
-#include "cmd_summon.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);
 }