X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_commands.cpp;h=6ffd0c4692186255fcc66c9af8871db260052809;hb=547ee1342e8b07bcdf46bc81343d1a1f7a2998e5;hp=dfcc874c96d2729eb78233e0baee666337bd2656;hpb=fea1a27cb96a114f698eedcf90401b78406108fb;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_commands.cpp b/src/cmd_commands.cpp index dfcc874c9..6ffd0c469 100644 --- a/src/cmd_commands.cpp +++ b/src/cmd_commands.cpp @@ -16,11 +16,14 @@ #include "inspircd.h" #include "users.h" -#include "commands.h" -#include "helperfuncs.h" #include "commands/cmd_commands.h" -extern InspIRCd* ServerInstance; + + +extern "C" command_t* init_command(InspIRCd* Instance) +{ + return new cmd_commands(Instance); +} void cmd_commands::Handle (const char** parameters, int pcnt, userrec *user) {