summaryrefslogtreecommitdiffstats
path: root/mbbsd/emaildb.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/emaildb.c')
-rw-r--r--mbbsd/emaildb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/emaildb.c b/mbbsd/emaildb.c
index d8f0ae05..90cd567e 100644
--- a/mbbsd/emaildb.c
+++ b/mbbsd/emaildb.c
@@ -47,6 +47,9 @@ int emaildb_check_email(char * email, int email_len)
// use mail.
if (strcasecmp(result, cuser.userid) == 0)
continue;
+
+ // force update
+ u.email[0] = 0;
if (getuser(result, &u))
if (strcasecmp(email, u.email) == 0)