From 609261cf05b1f86db8e0958f3aa1a278ae7f0101 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 28 Aug 2007 18:37:44 +0000 Subject: No idea why this wasn't using MODULE_INIT. Thanks Om. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7969 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_operlevels.cpp | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp index 40e882625..4c4047caa 100644 --- a/src/modules/m_operlevels.cpp +++ b/src/modules/m_operlevels.cpp @@ -94,26 +94,5 @@ class ModuleOperLevels : public Module }; -class ModuleOperLevelsFactory : public ModuleFactory -{ - public: - ModuleOperLevelsFactory() - { - } - - ~ModuleOperLevelsFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleOperLevels(Me); - } - -}; - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleOperLevelsFactory; -} +MODULE_INIT(ModuleOperLevels) -- cgit v1.2.3