From d7e5dfd5b9b98fc673fb0fbf7ca2fc5b7e618714 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 17 Jun 2007 13:24:13 +0000 Subject: More conversion git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7351 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cycle.cpp | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'src/modules/m_cycle.cpp') diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp index 1ffc0b2e7..d9833ef78 100644 --- a/src/modules/m_cycle.cpp +++ b/src/modules/m_cycle.cpp @@ -96,29 +96,4 @@ class ModuleCycle : public Module }; -// stuff down here is the module-factory stuff. For basic modules you can ignore this. - -class ModuleCycleFactory : public ModuleFactory -{ - public: - ModuleCycleFactory() - { - } - - ~ModuleCycleFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleCycle(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleCycleFactory; -} - +MODULE_INIT(ModuleCycle); -- cgit v1.2.3