diff options
Diffstat (limited to 'src/cmd_ping.cpp')
-rw-r--r-- | src/cmd_ping.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd_ping.cpp b/src/cmd_ping.cpp index 8c8a6a992..9ecec693c 100644 --- a/src/cmd_ping.cpp +++ b/src/cmd_ping.cpp @@ -18,6 +18,13 @@ #include "users.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) { user->WriteServ("PONG %s :%s",ServerInstance->Config->ServerName,parameters[0]); |