From bbeac6625075aa7457c3e97d2a3efce9b0a47150 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 9 Aug 2017 19:18:45 +0200 Subject: [PATCH] fix dupe detection --- src/modules/autoseed.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/autoseed.c b/src/modules/autoseed.c index efb61245e..343c742ee 100644 --- a/src/modules/autoseed.c +++ b/src/modules/autoseed.c @@ -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; }