summaryrefslogtreecommitdiff
path: root/src/cmd_who.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_who.cpp')
-rw-r--r--src/cmd_who.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd_who.cpp b/src/cmd_who.cpp
index 5ab54dc02..e48e013ec 100644
--- a/src/cmd_who.cpp
+++ b/src/cmd_who.cpp
@@ -54,6 +54,13 @@ bool whomatch(userrec* user, const char* matchtext, bool opt_realname, bool opt_
return ((realname) || (realhost) || (match(user->dhost, matchtext)) || (match(user->nick, matchtext)) || (match(user->server, matchtext)));
}
+
+
+extern "C" command_t* init_command(InspIRCd* Instance)
+{
+ return new cmd_who(Instance);
+}
+
void cmd_who::Handle (const char** parameters, int pcnt, userrec *user)
{
/*