From d99c2c1ea74383a66b36582ccd364802c7223833 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 17 Jun 2007 13:22:53 +0000 Subject: More factory conversion git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7350 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_clones.cpp | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'src/modules/m_clones.cpp') 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); -- cgit v1.2.3