summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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());