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