summaryrefslogtreecommitdiff
path: root/modules/commands/ns_set_email.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ns_set_email.cpp')
-rw-r--r--modules/commands/ns_set_email.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_set_email.cpp b/modules/commands/ns_set_email.cpp
index 34aa68c5c..6966c2a79 100644
--- a/modules/commands/ns_set_email.cpp
+++ b/modules/commands/ns_set_email.cpp
@@ -88,7 +88,7 @@ class CommandNSSetEmail : public Command
source.nc->Extend("ns_set_email", new ExtensibleItemClass<Anope::string>(param));
Anope::string old = source.nc->email;
source.nc->email = param;
- if (SendConfirmMail(source.GetUser(), source.owner))
+ if (SendConfirmMail(source.GetUser(), source.service))
source.Reply(_("A confirmation email has been sent to \002%s\002. Follow the instructions in it to change your email address."), param.c_str());
source.nc->email = old;
}