From bfdf503e5204ba17479084e688a3605dbc9007a2 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 17 Jun 2007 13:13:38 +0000 Subject: Convert more modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7347 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_banexception.cpp | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'src/modules/m_banexception.cpp') diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp index 5dd406e54..9cb5d0662 100644 --- a/src/modules/m_banexception.cpp +++ b/src/modules/m_banexception.cpp @@ -150,26 +150,4 @@ public: } }; -class ModuleBanExceptionFactory : public ModuleFactory -{ - public: - ModuleBanExceptionFactory() - { - } - - ~ModuleBanExceptionFactory() - { - } - - virtual Module* CreateModule(InspIRCd* Me) - { - return new ModuleBanException(Me); - } -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleBanExceptionFactory; -} - +MODULE_INIT(ModuleBanException); -- cgit v1.2.3