summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:37:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:37:53 +0000
commitaaeea36f436c54b6038c9ae9005247002508cf09 (patch)
tree2d22dfdb333dbabfecda7866fb77bf98308556ab
parentb7a46314af887bc5d2853663e7b2b8ef87c99bad (diff)
More (last of extra)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7359 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/extra/m_ssl_oper_cert.cpp23
-rw-r--r--src/modules/extra/m_sslinfo.cpp25
2 files changed, 2 insertions, 46 deletions
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);