summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorlethality <lethality@anope.org>2011-12-17 02:06:53 +0000
committerlethality <lethality@anope.org>2011-12-17 02:06:53 +0000
commitca8ce89de4302cbf8f89e23b2f1b18ca7332fa40 (patch)
tree4a0565ab27aca35f7f4127b88c93c34d929c0d26 /modules
parentc88a751eab55b5524395796734beb5bb15811d61 (diff)
Fixed a slight error in email registration/resend and some minor typos.
Diffstat (limited to 'modules')
-rw-r--r--modules/commands/ns_register.cpp2
1 files changed, 1 insertions, 1 deletions
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());