diff options
author | Adam <Adam@anope.org> | 2013-10-22 03:43:31 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-10-22 03:44:06 -0400 |
commit | 7cb35eeedf5ef4f81492622ded48772b96131635 (patch) | |
tree | f0135c25d6a26b5bf2ff5a029e2618ac8a377e61 /modules/commands/ns_set.cpp | |
parent | f0318fdbe841cb1bfdf2e76fe2b0bfc0290fe4b9 (diff) |
Make nickserv's confirmemailchanges option work
Diffstat (limited to 'modules/commands/ns_set.cpp')
-rw-r--r-- | modules/commands/ns_set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<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()); |