};
-// 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)