summaryrefslogtreecommitdiff
path: root/src/cmd_pong.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_pong.cpp')
-rw-r--r--src/cmd_pong.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd_pong.cpp b/src/cmd_pong.cpp
index 5317ad5b3..9a388c021 100644
--- a/src/cmd_pong.cpp
+++ b/src/cmd_pong.cpp
@@ -17,6 +17,13 @@
#include "users.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