summaryrefslogtreecommitdiff
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
parentc88a751eab55b5524395796734beb5bb15811d61 (diff)
Fixed a slight error in email registration/resend and some minor typos.
-rw-r--r--data/chanserv.example.conf4
-rw-r--r--modules/commands/ns_register.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf
index 6889c2b29..0322cd8a0 100644
--- a/data/chanserv.example.conf
+++ b/data/chanserv.example.conf
@@ -364,7 +364,7 @@ privilege
privilege
{
name = "BAN"
- desc = "Allowed to use ban users"
+ desc = "Allowed to ban users"
rank = 150
level = 4
flag = "b"
@@ -432,7 +432,7 @@ privilege
privilege
{
name = "GREET"
- desc = "Greet message displayede on join"
+ desc = "Greet message displayed on join"
rank = 40
level = 5
flag = "g"
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());