diff options
author | Adam <Adam@anope.org> | 2012-10-08 20:58:47 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-08 20:58:47 -0400 |
commit | 3af786d4c97e8ee99ea122a5c058d82e6222f295 (patch) | |
tree | 750c5de0ec2c001b6366fd5137478e6944cdc296 /modules/commands/os_mode.cpp | |
parent | e57b470e83fac205a354138b1daccec654214e39 (diff) |
Fix fantasy !help & give it its own help header, not ChanServ's
Diffstat (limited to 'modules/commands/os_mode.cpp')
-rw-r--r-- | modules/commands/os_mode.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_mode.cpp b/modules/commands/os_mode.cpp index 55e5145c2..2fa8e5f69 100644 --- a/modules/commands/os_mode.cpp +++ b/modules/commands/os_mode.cpp @@ -34,7 +34,7 @@ class CommandOSMode : public Command source.Reply(_("Services is unable to change modes. Are your servers' U:lines configured correctly?")); else { - c->SetModes(source.owner, false, modes.c_str()); + c->SetModes(source.service, false, modes.c_str()); Log(LOG_ADMIN, source, this) << modes << " on " << target; } @@ -69,10 +69,10 @@ class CommandOSUMode : public Command source.Reply(NICK_X_NOT_IN_USE, target.c_str()); else { - u2->SetModes(source.owner, "%s", modes.c_str()); + u2->SetModes(source.service, "%s", modes.c_str()); source.Reply(_("Changed usermodes of \002%s\002 to %s."), u2->nick.c_str(), modes.c_str()); - u2->SendMessage(source.owner, _("\002%s\002 changed your usermodes to %s."), source.GetNick().c_str(), modes.c_str()); + u2->SendMessage(source.service, _("\002%s\002 changed your usermodes to %s."), source.GetNick().c_str(), modes.c_str()); Log(LOG_ADMIN, source, this) << modes << " on " << target; } |