diff options
Diffstat (limited to 'src/cmd_motd.cpp')
-rw-r--r-- | src/cmd_motd.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd_motd.cpp b/src/cmd_motd.cpp index 5c47f3541..04542db17 100644 --- a/src/cmd_motd.cpp +++ b/src/cmd_motd.cpp @@ -17,6 +17,13 @@ #include "users.h" #include "commands/cmd_motd.h" + + +extern "C" command_t* init_command(InspIRCd* Instance) +{ + return new cmd_motd(Instance); +} + void cmd_motd::Handle (const char** parameters, int pcnt, userrec *user) { user->ShowMOTD(); |