X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_die.cpp;h=fc2cc473efa0de48cd20f36c77ee558ddd352735;hb=1b7c615062a7b203c7fc3ce4c56e16eb671f7c15;hp=2371ca9474434b60335e404cbad5961fad971394;hpb=e84bf9f3ec5a60078c32b272d3d7885c0708c544;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_die.cpp b/src/cmd_die.cpp index 2371ca947..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 "helperfuncs.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))