summaryrefslogtreecommitdiff
path: root/src/cmd_admin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_admin.cpp')
-rw-r--r--src/cmd_admin.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd_admin.cpp b/src/cmd_admin.cpp
index 3db1457e4..86072a5ed 100644
--- a/src/cmd_admin.cpp
+++ b/src/cmd_admin.cpp
@@ -18,6 +18,13 @@
#include "users.h"
#include "commands/cmd_admin.h"
+
+
+extern "C" command_t* init_command(InspIRCd* Instance)
+{
+ return new cmd_admin(Instance);
+}
+
void cmd_admin::Handle (const char** parameters, int pcnt, userrec *user)
{
user->WriteServ("256 %s :Administrative info for %s",user->nick,ServerInstance->Config->ServerName);