]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_banexception.cpp
Convert more modules
[user/henk/code/inspircd.git] / src / modules / m_banexception.cpp
index 5dd406e54fbe5e395a2dcd7b494389bb074c602e..9cb5d066243453a4a5f06a9790407449f8a97a86 100644 (file)
@@ -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);