]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_motd.cpp
Annotations
[user/henk/code/inspircd.git] / src / cmd_motd.cpp
index 5c47f3541969009e0da8b44706e4b4da094923ff..44c6fba9e33a6361b3216116b7b30f7035cb33e6 100644 (file)
 #include "users.h"
 #include "commands/cmd_motd.h"
 
-void cmd_motd::Handle (const char** parameters, int pcnt, userrec *user)
+
+
+extern "C" command_t* init_command(InspIRCd* Instance)
+{
+       return new cmd_motd(Instance);
+}
+
+CmdResult cmd_motd::Handle (const char** parameters, int pcnt, userrec *user)
 {
        user->ShowMOTD();
+       return CMD_SUCCESS;
 }