From 7cb35eeedf5ef4f81492622ded48772b96131635 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 22 Oct 2013 03:43:31 -0400 Subject: [PATCH] Make nickserv's confirmemailchanges option work --- modules/commands/ns_set.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/ns_set.cpp b/modules/commands/ns_set.cpp index 0f4530784..770951b8e 100644 --- a/modules/commands/ns_set.cpp +++ b/modules/commands/ns_set.cpp @@ -470,7 +470,7 @@ class CommandNSSetEmail : public Command if (MOD_RESULT == EVENT_STOP) return; - if (!param.empty() && Config->GetModule("nickserv")->Get("forceemail", "yes") && !source.IsServicesOper()) + if (!param.empty() && Config->GetModule("nickserv")->Get("confirmemailchanges") && !source.IsServicesOper()) { if (SendConfirmMail(source.GetUser(), source.service, param)) source.Reply(_("A confirmation e-mail has been sent to \002%s\002. Follow the instructions in it to change your e-mail address."), param.c_str());