From f1087b785d6925d3e7dfbca10b98be22a48c118a Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 28 Aug 2007 18:43:15 +0000 Subject: Use MODULE_INIT here too git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7970 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sslmodes.cpp | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'src/modules/m_sslmodes.cpp') 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; -} -- cgit v1.2.3