summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_sslmodes.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/modules/m_sslmodes.cpp b/src/modules/m_sslmodes.cpp
index e772e212d..a9c5b89b3 100644
--- a/src/modules/m_sslmodes.cpp
+++ b/src/modules/m_sslmodes.cpp
@@ -117,26 +117,5 @@ class ModuleSSLModes : public Module
};
-class ModuleSSLModesFactory : public ModuleFactory
-{
- public:
- ModuleSSLModesFactory()
- {
- }
-
- ~ModuleSSLModesFactory()
- {
- }
-
- virtual Module* CreateModule(InspIRCd* Me)
- {
- return new ModuleSSLModes(Me);
- }
-
-};
-
+MODULE_INIT(ModuleSSLModes);
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleSSLModesFactory;
-}