*/
#include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
/* $ModDesc: Forces connecting clients to send a PONG message back to the server before they can complete their connection */
};
-class ModuleWaitPongFactory : public ModuleFactory
-{
- public:
- ModuleWaitPongFactory()
- {
- }
-
- ~ModuleWaitPongFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleWaitPong(Me);
- }
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleWaitPongFactory;
-}
+MODULE_INIT(ModuleWaitPong)