]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_connect.cpp
Fix for parameters which contain a colon (which is not the first char in the string)
[user/henk/code/inspircd.git] / src / cmd_connect.cpp
index affeb9317839fa36c2af8618a716c62f0f830d6c..5e33316a8f77ddf7cba1afcadd93301b7e44e4d3 100644 (file)
@@ -15,8 +15,6 @@
  */
 
 #include "users.h"
-#include "commands.h"
-#include "helperfuncs.h"
 #include "commands/cmd_connect.h"
 
 /*
@@ -24,5 +22,5 @@
  */
 void cmd_connect::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);
 }