summaryrefslogtreecommitdiff
path: root/src/cmd_away.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_away.cpp')
-rw-r--r--src/cmd_away.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd_away.cpp b/src/cmd_away.cpp
index 6746cf5e2..fa944932f 100644
--- a/src/cmd_away.cpp
+++ b/src/cmd_away.cpp
@@ -19,6 +19,13 @@
#include "modules.h"
#include "commands/cmd_away.h"
+
+
+extern "C" command_t* init_command(InspIRCd* Instance)
+{
+ return new cmd_away(Instance);
+}
+
void cmd_away::Handle (const char** parameters, int pcnt, userrec *user)
{
if ((pcnt) && (*parameters[0]))