* ---------------------------------------------------
*/
-#include <stdio.h>
-#include <map>
+#include "inspircd.h"
#include "users.h"
#include "channels.h"
#include "modules.h"
-#include "configreader.h"
-#include "inspircd.h"
/* $ModDesc: Provides channel mode +j (join flood protection) */
if ((njoins<1) || (nsecs<1))
{
source->WriteServ("608 %s %s :Invalid flood parameter",source->nick,channel->name);
- parameter = "";
+ parameter.clear();
return MODEACTION_DENY;
}
else