}
};
-class ModuleSSLDummyFactory : public ModuleFactory
-{
- public:
- ModuleSSLDummyFactory()
- {
- }
-
- ~ModuleSSLDummyFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleSSLDummy(Me);
- }
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleSSLDummyFactory;
-}
-
+MODULE_INIT(ModuleSSLDummy);
};
-// stuff down here is the module-factory stuff. For basic modules you can ignore this.
-
-class ModuleStripColorFactory : public ModuleFactory
-{
- public:
- ModuleStripColorFactory()
- {
- }
-
- ~ModuleStripColorFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleStripColor(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleStripColorFactory;
-}
-
+MODULE_INIT(ModuleStripColor);
}
};
-class ModuleSVSHoldFactory : public ModuleFactory
-{
- public:
- ModuleSVSHoldFactory()
- {
- }
-
- ~ModuleSVSHoldFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleSVSHold(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleSVSHoldFactory;
-}
+MODULE_INIT(ModuleSVSHold);