summaryrefslogtreecommitdiff
path: root/src/cmd_quit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_quit.cpp')
-rw-r--r--src/cmd_quit.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd_quit.cpp b/src/cmd_quit.cpp
index 37d6147c4..102d9adc5 100644
--- a/src/cmd_quit.cpp
+++ b/src/cmd_quit.cpp
@@ -20,6 +20,13 @@
#include "modules.h"
#include "commands/cmd_quit.h"
+
+
+extern "C" command_t* init_command(InspIRCd* Instance)
+{
+ return new cmd_quit(Instance);
+}
+
void cmd_quit::Handle (const char** parameters, int pcnt, userrec *user)
{
user_hash::iterator iter = ServerInstance->clientlist.find(user->nick);