aup->authattempts++;
if (aup->authattempts > MAXAUTHATTEMPT) {
+/*
if ((aup->authattempts % 100) == 0)
chanservwallmessage("Warning: User %s!%s@%s attempted to auth %d times. Last attempt: %s %s %s",
sender->nick, sender->ident, sender->host->name->content, aup->authattempts, authtype, cargv[0], cargv[1]);
+*/
+
chanservstdmessage(sender, QM_AUTHFAIL);
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 5
+#define MAXAUTHATTEMPT 10
/* Maximum number of hellos in a session */
-#define MAXHELLOS 3
+#define MAXHELLOS 2
/* Maximum number of times a user may actually be authed */
#define MAXAUTHCOUNT 2