eine warnung für falsche passworte

This commit is contained in:
Enno Rehling 2004-03-21 21:29:37 +00:00
parent 6412d51e0a
commit c9fb1b647e
1 changed files with 1 additions and 0 deletions

View File

@ -566,6 +566,7 @@ factionorders(void)
f->mistakes = 0;
if (checkpasswd(f, pass, true) == false) {
log_warning(("Invalid password for faction %s\n", fid));
addstrlist(&f->mistakes, "Das Passwort wurde falsch eingegeben");
return 0;
}