From aaeea36f436c54b6038c9ae9005247002508cf09 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 17 Jun 2007 13:37:53 +0000 Subject: More (last of extra) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7359 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_oper_cert.cpp | 23 +---------------------- src/modules/extra/m_sslinfo.cpp | 25 +------------------------ 2 files changed, 2 insertions(+), 46 deletions(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_ssl_oper_cert.cpp b/src/modules/extra/m_ssl_oper_cert.cpp index 971c921b8..c67b50c8c 100644 --- a/src/modules/extra/m_ssl_oper_cert.cpp +++ b/src/modules/extra/m_ssl_oper_cert.cpp @@ -176,26 +176,5 @@ class ModuleOperSSLCert : public Module } }; -class ModuleOperSSLCertFactory : public ModuleFactory -{ - public: - ModuleOperSSLCertFactory() - { - } - - ~ModuleOperSSLCertFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleOperSSLCert(Me); - } - -}; +MODULE_INIT(ModuleOperSSLCert); - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleOperSSLCertFactory; -} diff --git a/src/modules/extra/m_sslinfo.cpp b/src/modules/extra/m_sslinfo.cpp index 3d01033e0..dc9274f1e 100644 --- a/src/modules/extra/m_sslinfo.cpp +++ b/src/modules/extra/m_sslinfo.cpp @@ -90,28 +90,5 @@ class ModuleSSLInfo : public Module } }; - -class ModuleSSLInfoFactory : public ModuleFactory -{ - public: - ModuleSSLInfoFactory() - { - } - - ~ModuleSSLInfoFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleSSLInfo(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleSSLInfoFactory; -} +MODULE_INIT(ModuleSSLInfo); -- cgit v1.2.3