From ca8ce89de4302cbf8f89e23b2f1b18ca7332fa40 Mon Sep 17 00:00:00 2001 From: lethality Date: Sat, 17 Dec 2011 02:06:53 +0000 Subject: Fixed a slight error in email registration/resend and some minor typos. --- modules/commands/ns_register.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands') diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp index 44d3c5e22..1fbb424b2 100644 --- a/modules/commands/ns_register.cpp +++ b/modules/commands/ns_register.cpp @@ -275,7 +275,7 @@ class CommandNSResend : public Command { if (Anope::CurTime < u->Account()->lastmail + Config->NSResendDelay) source.Reply(_("Cannot send mail now; please retry a little later.")); - else if (!SendRegmail(u, na, source.owner)) + else if (SendRegmail(u, na, source.owner)) { na->nc->lastmail = Anope::CurTime; source.Reply(_("Your passcode has been re-sent to %s."), na->nc->email.c_str()); -- cgit