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_oline.cpp | |
parent | e57b470e83fac205a354138b1daccec654214e39 (diff) |
Fix fantasy !help & give it its own help header, not ChanServ's
Diffstat (limited to 'modules/commands/os_oline.cpp')
-rw-r--r-- | modules/commands/os_oline.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/os_oline.cpp b/modules/commands/os_oline.cpp index ccf053f7e..3fe622c1c 100644 --- a/modules/commands/os_oline.cpp +++ b/modules/commands/os_oline.cpp @@ -33,15 +33,15 @@ class CommandOSOLine : public Command source.Reply(NICK_X_NOT_IN_USE, nick.c_str()); else if (u2 && flag[0] == '+') { - ircdproto->SendSVSO(source.owner, nick, flag); - u2->SetMode(source.owner, UMODE_OPER); - u2->SendMessage(source.owner, _("You are now an IRC Operator.")); + ircdproto->SendSVSO(source.service, nick, flag); + u2->SetMode(source.service, UMODE_OPER); + u2->SendMessage(source.service, _("You are now an IRC Operator.")); source.Reply(_("Operflags \002%s\002 have been added for \002%s\002."), flag.c_str(), nick.c_str()); Log(LOG_ADMIN, source, this) << "for " << nick; } else if (u2 && flag[0] == '-') { - ircdproto->SendSVSO(source.owner, nick, flag); + ircdproto->SendSVSO(source.service, nick, flag); source.Reply(_("Operflags \002%s\002 have been added for \002%s\002."), flag.c_str(), nick.c_str()); Log(LOG_ADMIN, source, this) << "for " << nick; } |