--HG--
branch : chanserv-live
cntdigits++;
if(islower(password[i]) || isupper(password[i]))
cntletters++;
+ if(password[i] < 32 || password[i] > 127)
+ return QM_PWINVALID;
}
if( cntweak > 3 || !cntdigits || !cntletters)
msg(QM_INACTIVEACCOUNT,"This account has not yet been activated.",""),
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.", ""),
}
EndMessages()
#endif