]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_wallops.cpp
InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ident...
[user/henk/code/inspircd.git] / src / cmd_wallops.cpp
index 909dfb2ba324407959227a3fff3ef3934f912a18..14924e56be52306ea4627943091f12cde4b439d4 100644 (file)
  * ---------------------------------------------------
  */
 
-#include "configreader.h"
-#include "modules.h"
+#include "inspircd.h"
 #include "commands/cmd_wallops.h"
 
 
 
-extern "C" command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport Command* init_command(InspIRCd* Instance)
 {
        return new cmd_wallops(Instance);
 }
 
-CmdResult cmd_wallops::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_wallops::Handle (const char** parameters, int pcnt, User *user)
 {
        user->WriteWallOps(std::string(parameters[0]));
        FOREACH_MOD(I_OnWallops,OnWallops(user,parameters[0]));