X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_die.cpp;h=fc2cc473efa0de48cd20f36c77ee558ddd352735;hb=1b7c615062a7b203c7fc3ce4c56e16eb671f7c15;hp=e3ee482969982358f5fb3f641b816eed28a14f92;hpb=6050df73f498d05597fb37c6157868df1f6f4db2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_die.cpp b/src/cmd_die.cpp index e3ee48296..fc2cc473e 100644 --- a/src/cmd_die.cpp +++ b/src/cmd_die.cpp @@ -14,17 +14,17 @@ * --------------------------------------------------- */ -#include -#include -#include #include "configreader.h" #include "users.h" -#include "commands.h" - #include "commands/cmd_die.h" +extern "C" command_t* init_command(InspIRCd* Instance) +{ + return new cmd_die(Instance); +} + void cmd_die::Handle (const char** parameters, int pcnt, userrec *user) { if (!strcmp(parameters[0],ServerInstance->Config->diepass))