git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7359
e03df62e-2008-0410-955e-
edbf42e46eb7
}
};
-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;
-}
}
};
-
-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);