* ---------------------------------------------------
*/
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
#include "inspircd.h"
/* $ModDesc: Provides support for hiding channels with user mode +I */
}
};
-class ModuleHideChansFactory : public ModuleFactory
-{
- public:
- ModuleHideChansFactory()
- {
- }
-
- ~ModuleHideChansFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleHideChans(Me);
- }
-
-};
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleHideChansFactory;
-}
+MODULE_INIT(ModuleHideChans)