diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/ns_register.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ns_register.c b/src/core/ns_register.c index a90c0ca0c..0a0e073ac 100644 --- a/src/core/ns_register.c +++ b/src/core/ns_register.c @@ -428,11 +428,11 @@ int do_resend(User * u) if (NSEmailReg) { if ((nr = findrequestnick(u->nick))) { if (time(NULL) < nr->lastmail + NSResendDelay) { - return MOD_CONT; - } else { - nr->lastmail = time(NULL); + notice_lang(s_NickServ, u, MAIL_LATER); + return MOD_CONT; } if (do_sendregmail(u, nr) == 0) { + nr->lastmail = time(NULL); notice_lang(s_NickServ, u, NICK_REG_RESENT, nr->email); alog("%s: re-sent registration verification code for %s to %s", s_NickServ, nr->nick, nr->email); } else { |
