]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_squit.cpp
Whoops, make /stats s work
[user/henk/code/inspircd.git] / src / cmd_squit.cpp
index f6d334028bf224c8ff783381bd7aadc734e484d3..fa3aadc789556329dab76e38450f7f694586dbe8 100644 (file)
 /*
  * This is handled by the server linking module, if necessary. Do not remove this stub.
  */
-void cmd_squit::Handle (const char** parameters, int pcnt, userrec *user)
+
+
+extern "C" command_t* init_command(InspIRCd* Instance)
+{
+       return new cmd_squit(Instance);
+}
+
+CmdResult cmd_squit::Handle (const char** parameters, int pcnt, userrec *user)
 {
        user->WriteServ( "NOTICE %s :You are a nub. Load a linking module.", user->nick);
+       return CMD_FAILURE;
 }