]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_squit.cpp
Fix for parameters which contain a colon (which is not the first char in the string)
[user/henk/code/inspircd.git] / src / cmd_squit.cpp
index 7b080a0ecaa60a515db692025657b009e4c15da0..f6d334028bf224c8ff783381bd7aadc734e484d3 100644 (file)
  */
 
 #include "users.h"
-#include "commands.h"
-#include "helperfuncs.h"
 #include "commands/cmd_squit.h"
 
 /*
  * This is handled by the server linking module, if necessary. Do not remove this stub.
  */
-void cmd_squit::Handle (char **parameters, int pcnt, userrec *user)
+void cmd_squit::Handle (const char** parameters, int pcnt, userrec *user)
 {
-       WriteServ(user->fd, "NOTICE %s :You are a nub. Load a linking module.", user->nick);
+       user->WriteServ( "NOTICE %s :You are a nub. Load a linking module.", user->nick);
 }