*/
#include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
/* $ModDesc: Allows for auditorium channels (+u) where nobody can see others joining and parting or the nick list */
}
};
-class ModuleAuditoriumFactory : public ModuleFactory
-{
- public:
- ModuleAuditoriumFactory()
- {
- }
-
- ~ModuleAuditoriumFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleAuditorium(Me);
- }
-
-};
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleAuditoriumFactory;
-}
-
+MODULE_INIT(ModuleAuditorium)