diff options
Diffstat (limited to 'src/modules/m_botmode.cpp')
-rw-r--r-- | src/modules/m_botmode.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp index 6e53273ac..646df57a0 100644 --- a/src/modules/m_botmode.cpp +++ b/src/modules/m_botmode.cpp @@ -91,28 +91,5 @@ class ModuleBotMode : public Module }; -// stuff down here is the module-factory stuff. For basic modules you can ignore this. -class ModuleBotModeFactory : public ModuleFactory -{ - public: - ModuleBotModeFactory() - { - } - - ~ModuleBotModeFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleBotMode(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleBotModeFactory; -} +MODULE_INIT(ModuleBotMode); |