diff options
Diffstat (limited to 'src/cmd_unloadmodule.cpp')
-rw-r--r-- | src/cmd_unloadmodule.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd_unloadmodule.cpp b/src/cmd_unloadmodule.cpp index 88600ada9..1bb99014b 100644 --- a/src/cmd_unloadmodule.cpp +++ b/src/cmd_unloadmodule.cpp @@ -18,6 +18,13 @@ #include "users.h" #include "commands/cmd_unloadmodule.h" + + +extern "C" command_t* init_command(InspIRCd* Instance) +{ + return new cmd_unloadmodule(Instance); +} + void cmd_unloadmodule::Handle (const char** parameters, int pcnt, userrec *user) { if (ServerInstance->UnloadModule(parameters[0])) |