]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_zline.cpp
InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ident...
[user/henk/code/inspircd.git] / src / cmd_zline.cpp
index 8fea70656e550cd825cad7a4b5ce5cb500ce4293..a1d22e32adcbdff8986b03d0fd6d760ee6133f93 100644 (file)
  */
 
 #include "inspircd.h"
-#include "configreader.h"
-#include "users.h"
-#include "modules.h"
 #include "xline.h"
 #include "commands/cmd_zline.h"
 
 
 
-extern "C" DllExport command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport Command* init_command(InspIRCd* Instance)
 {
        return new cmd_zline(Instance);
 }
 
-CmdResult cmd_zline::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_zline::Handle (const char** parameters, int pcnt, User *user)
 {
        if (pcnt >= 3)
        {