X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_ping.cpp;h=9ecec693c2010c62993bed501ec6801030287bb6;hb=547ee1342e8b07bcdf46bc81343d1a1f7a2998e5;hp=515312670191c8a7b2e4d1c48ef3d4ddfcd16790;hpb=6050df73f498d05597fb37c6157868df1f6f4db2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_ping.cpp b/src/cmd_ping.cpp index 515312670..9ecec693c 100644 --- a/src/cmd_ping.cpp +++ b/src/cmd_ping.cpp @@ -16,12 +16,14 @@ #include "configreader.h" #include "users.h" -#include "commands.h" - #include "commands/cmd_ping.h" +extern "C" command_t* init_command(InspIRCd* Instance) +{ + return new cmd_ping(Instance); +} void cmd_ping::Handle (const char** parameters, int pcnt, userrec *user) {