X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_pong.cpp;h=9a388c021de18e4e0c79ed5d86d17e06c69cf286;hb=547ee1342e8b07bcdf46bc81343d1a1f7a2998e5;hp=11973a72936b48237e1e6bcf59425f45bc2e148b;hpb=6050df73f498d05597fb37c6157868df1f6f4db2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_pong.cpp b/src/cmd_pong.cpp index 11973a729..9a388c021 100644 --- a/src/cmd_pong.cpp +++ b/src/cmd_pong.cpp @@ -15,10 +15,15 @@ */ #include "users.h" -#include "commands.h" #include "commands/cmd_pong.h" + +extern "C" command_t* init_command(InspIRCd* Instance) +{ + return new cmd_pong(Instance); +} + void cmd_pong::Handle (const char** parameters, int pcnt, userrec *user) { // set the user as alive so they survive to next ping