forked from github/server
fix dupe detection
This commit is contained in:
parent
c4f7e36903
commit
62d8024c49
|
@ -172,8 +172,7 @@ newfaction *read_newfactions(const char *filename)
|
|||
sz += strlcat(password, itoa36(rng_int()), sizeof(password));
|
||||
}
|
||||
for (f = factions; f; f = f->next) {
|
||||
if (strcmp(f->email, email) == 0 && f->subscription
|
||||
&& f->age < MINAGE_MULTI) {
|
||||
if (strcmp(f->email, email) == 0 && f->age < MINAGE_MULTI) {
|
||||
log_warning("email %s already in use by %s", email, factionname(f));
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue