summaryrefslogtreecommitdiff
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index ba6f65673..ed8080753 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -185,28 +185,4 @@ class ModuleCheck : public Module
};
-
-
-class ModuleCheckFactory : public ModuleFactory
-{
- public:
- ModuleCheckFactory()
- {
- }
-
- ~ModuleCheckFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleCheck(Me);
- }
-
-};
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleCheckFactory;
-}
-
+MODULE_INIT(ModuleCheck);