sender->nick, sender->ident, sender->host->name->content, aup->authattempts, authtype, cargv[0], cargv[1]);
*/
- chanservstdmessage(sender, QM_AUTHFAIL);
+ chanservstdmessage(sender, QM_TOOMANYAUTHATTEMPTS);
cs_log(sender,"%s FAIL too many auth attempts (last attempt: %s %s %s)", authtype, authtype, cargv[0], cargv[1]);
return CMD_ERROR;
}
#define MAXSUSPENDHIT 500
/* Maximum number of times a user may attempt to auth */
-#define MAXAUTHATTEMPT 10
+#define MAXAUTHATTEMPT 5
/* Maximum number of hellos in a session */
#define MAXHELLOS 2
msg(QM_PWTOLONG, "Sorry, but new password is too long (maximum length 10 chars)", ""),
msg(QM_TOOMANYCHANNELS, "User is known on too many channels.", ""),
msg(QM_PWINVALID, "Password contains invalid characters.", ""),
+ msg(QM_TOOMANYAUTHATTEMPTS, "Too many auth attempts -- reconnect to QuakeNet to try again.", ""),
}
EndMessages()
#endif