summaryrefslogtreecommitdiff
path: root/modules/commands/ns_sendpass.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-08 20:58:47 -0400
committerAdam <Adam@anope.org>2012-10-08 20:58:47 -0400
commit3af786d4c97e8ee99ea122a5c058d82e6222f295 (patch)
tree750c5de0ec2c001b6366fd5137478e6944cdc296 /modules/commands/ns_sendpass.cpp
parente57b470e83fac205a354138b1daccec654214e39 (diff)
Fix fantasy !help & give it its own help header, not ChanServ's
Diffstat (limited to 'modules/commands/ns_sendpass.cpp')
-rw-r--r--modules/commands/ns_sendpass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_sendpass.cpp b/modules/commands/ns_sendpass.cpp
index 6b2b2533b..5d88fd5a4 100644
--- a/modules/commands/ns_sendpass.cpp
+++ b/modules/commands/ns_sendpass.cpp
@@ -39,7 +39,7 @@ class CommandNSSendPass : public Command
Anope::string tmp_pass;
if (enc_decrypt(na->nc->pass, tmp_pass) == 1)
{
- if (SendPassMail(source.GetUser(), na, source.owner, tmp_pass))
+ if (SendPassMail(source.GetUser(), na, source.service, tmp_pass))
{
Log(Config->RestrictMail ? LOG_ADMIN : LOG_COMMAND, source, this) << "for " << na->nick;
source.Reply(_("Password of \002%s\002 has been sent."), nick.c_str());