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