summaryrefslogtreecommitdiff
path: root/src/cmd_whois.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_whois.cpp')
-rw-r--r--src/cmd_whois.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd_whois.cpp b/src/cmd_whois.cpp
index 3e8406dd1..a9577f168 100644
--- a/src/cmd_whois.cpp
+++ b/src/cmd_whois.cpp
@@ -91,6 +91,13 @@ void do_whois(InspIRCd* ServerInstance, userrec* user, userrec* dest,unsigned lo
}
}
+
+
+extern "C" command_t* init_command(InspIRCd* Instance)
+{
+ return new cmd_whois(Instance);
+}
+
void cmd_whois::Handle (const char** parameters, int pcnt, userrec *user)
{
userrec *dest;