*/
#include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
-#include "hashcomp.h"
/* $ModDesc: Attempt to block /amsg, at least some of the irritating mIRC scripts. */
};
-class ModuleBlockAmsgFactory : public ModuleFactory
-{
- public:
- ModuleBlockAmsgFactory()
- {
- }
-
- ~ModuleBlockAmsgFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleBlockAmsg(Me);
- }
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleBlockAmsgFactory;
-}
+MODULE_INIT(ModuleBlockAmsg)