diff options
Diffstat (limited to 'modules/commands/os_kick.cpp')
-rw-r--r-- | modules/commands/os_kick.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_kick.cpp b/modules/commands/os_kick.cpp index e3dd8cf8d..0a5165621 100644 --- a/modules/commands/os_kick.cpp +++ b/modules/commands/os_kick.cpp @@ -46,7 +46,7 @@ class CommandOSKick : public Command return; } - c->Kick(source.owner, u2, "%s (%s)", source.GetNick().c_str(), s.c_str()); + c->Kick(source.service, u2, "%s (%s)", source.GetNick().c_str(), s.c_str()); Log(LOG_ADMIN, source, this) << "on " << u2->nick << " in " << c->name << " (" << s << ")"; return; } @@ -60,7 +60,7 @@ class CommandOSKick : public Command "command. The kick message will have the nickname of the\n" "IRCop sending the KICK command prepended; for example:\n" " \n" - "*** SpamMan has been kicked off channel #my_channel by %s (Alcan (Flood))"), source.owner->nick.c_str()); + "*** SpamMan has been kicked off channel #my_channel by %s (Alcan (Flood))"), source.service->nick.c_str()); return true; } }; |