]> 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 08dee1188fe292464c04180804ab8ddcd75af8ce..f6d334028bf224c8ff783381bd7aadc734e484d3 100644 (file)
@@ -15,8 +15,6 @@
  */
 
 #include "users.h"
-#include "commands.h"
-#include "helperfuncs.h"
 #include "commands/cmd_squit.h"
 
 /*
@@ -24,5 +22,5 @@
  */
 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);
 }