summaryrefslogtreecommitdiff
path: root/src/modules/m_services_account.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_services_account.cpp')
-rw-r--r--src/modules/m_services_account.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp
index 27d9b335e..d9352964a 100644
--- a/src/modules/m_services_account.cpp
+++ b/src/modules/m_services_account.cpp
@@ -329,27 +329,4 @@ class ModuleServicesAccount : public Module
}
};
-
-class ModuleServicesAccountFactory : public ModuleFactory
-{
- public:
- ModuleServicesAccountFactory()
- {
- }
-
- ~ModuleServicesAccountFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleServicesAccount(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleServicesAccountFactory;
-}
+MODULE_INIT(ModuleServicesAccount);