]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chancreate.cpp
Add sanity checks to the ssl modules so that theres no possibility of an out of range...
[user/henk/code/inspircd.git] / src / modules / m_chancreate.cpp
index ee42a15bf20f0f838d7a95895f78d6eaf296cc31..232d55314d3c7e809e0728751999e158b2c24e32 100644 (file)
@@ -12,9 +12,6 @@
  */
 
 #include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
 
 /* $ModDesc: Creates a snomask with notices whenever a new channel is created */
 
@@ -52,26 +49,4 @@ class ModuleChanCreate : public Module
        }
 };
 
-class ModuleChanCreateFactory : public ModuleFactory
-{
- public:
-       ModuleChanCreateFactory()
-       {
-       }
-       
-       ~ModuleChanCreateFactory()
-       {
-       }
-       
-       virtual Module * CreateModule(InspIRCd* Me)
-       {
-               return new ModuleChanCreate(Me);
-       }
-       
-};
-
-extern "C" DllExport void * init_module( void )
-{
-       return new ModuleChanCreateFactory;
-}
-
+MODULE_INIT(ModuleChanCreate)