1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 23:33:12 +02:00

Make nickserv's confirmemailchanges option work

This commit is contained in:
Adam
2013-10-22 03:43:31 -04:00
parent f0318fdbe8
commit 7cb35eeedf
+1 -1
View File
@@ -470,7 +470,7 @@ class CommandNSSetEmail : public Command
if (MOD_RESULT == EVENT_STOP)
return;
if (!param.empty() && Config->GetModule("nickserv")->Get<bool>("forceemail", "yes") && !source.IsServicesOper())
if (!param.empty() && Config->GetModule("nickserv")->Get<bool>("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());