]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_banexception.cpp
Implement feature in bug #395 reported by stealth, and tidy up a bit
[user/henk/code/inspircd.git] / src / modules / m_banexception.cpp
index 5dd406e54fbe5e395a2dcd7b494389bb074c602e..0cd03a08b801c832321227b5e8c380b9c621cd22 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)