*/
#include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
-#include "mode.h"
/* $ModDesc: Provides support for channel mode +P to block all-CAPS channel messages and notices */
}
};
-
-class ModuleBlockCAPSFactory : public ModuleFactory
-{
- public:
- ModuleBlockCAPSFactory()
- {
- }
-
- ~ModuleBlockCAPSFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleBlockCAPS(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleBlockCAPSFactory;
-}
+MODULE_INIT(ModuleBlockCAPS)