diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-28 18:43:15 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-28 18:43:15 +0000 |
commit | f1087b785d6925d3e7dfbca10b98be22a48c118a (patch) | |
tree | ff1c89a7d71b65b849bbbbd9aec8e5ad0a011e83 /src/modules/m_sslmodes.cpp | |
parent | 609261cf05b1f86db8e0958f3aa1a278ae7f0101 (diff) |
Use MODULE_INIT here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7970 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sslmodes.cpp')
-rw-r--r-- | src/modules/m_sslmodes.cpp | 23 |
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; -} |