forked from github/server
ignore comments in newfactions
This commit is contained in:
parent
daca7b084d
commit
3151fe9f9b
|
@ -157,8 +157,12 @@ newfaction *read_newfactions(const char *filename)
|
|||
password[0] = '\0';
|
||||
|
||||
if (sscanf(buf, "%54s %20s %8s %d %d %16s %d", email, race, lang, &bonus,
|
||||
&subscription, password, &alliance) < 3)
|
||||
&subscription, password, &alliance) < 3) {
|
||||
break;
|
||||
}
|
||||
if (email[0] == '#') {
|
||||
continue;
|
||||
}
|
||||
if (email[0] == '\0')
|
||||
break;
|
||||
if (password[0] == '\0') {
|
||||
|
|
Loading…
Reference in New Issue