X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_motd.cpp;h=04542db17c610a3f4fd51d742326bf3881a47d0c;hb=1b7c615062a7b203c7fc3ce4c56e16eb671f7c15;hp=5c47f3541969009e0da8b44706e4b4da094923ff;hpb=d54fd9b1e6b31f69332a9241b5f17330c0ad61e0;p=user%2Fhenk%2Fcode%2Finspircd.git 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();