summaryrefslogtreecommitdiff
path: root/src/cmd_rules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_rules.cpp')
-rw-r--r--src/cmd_rules.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd_rules.cpp b/src/cmd_rules.cpp
index 38a815837..e08b7c775 100644
--- a/src/cmd_rules.cpp
+++ b/src/cmd_rules.cpp
@@ -17,6 +17,13 @@
#include "users.h"
#include "commands/cmd_rules.h"
+
+
+extern "C" command_t* init_command(InspIRCd* Instance)
+{
+ return new cmd_rules(Instance);
+}
+
void cmd_rules::Handle (const char** parameters, int pcnt, userrec *user)
{
user->ShowRULES();