summaryrefslogtreecommitdiff
path: root/modules/commands/os_kick.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/os_kick.cpp
parente57b470e83fac205a354138b1daccec654214e39 (diff)
Fix fantasy !help & give it its own help header, not ChanServ's
Diffstat (limited to 'modules/commands/os_kick.cpp')
-rw-r--r--modules/commands/os_kick.cpp4
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;
}
};