From 4e395e19629abe6b93c4b14a0608d071dbf4b5b4 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Thu, 2 Oct 2008 08:31:33 +0000 Subject: KICK, notice ops. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1303 5417fbe8-f217-4b02-8779-1006273d7864 --- src/channels.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/channels.c') diff --git a/src/channels.c b/src/channels.c index d787d1498..7be1dfbbd 100644 --- a/src/channels.c +++ b/src/channels.c @@ -872,7 +872,7 @@ void do_sjoin(const char *source, int ac, const char **av) } if (is_sqlined && !is_oper(user)) { - anope_cmd_kick(s_OperServ, av[1], s, "Q-Lined"); + anope_SendKick(s_OperServ, av[1], s, "Q-Lined"); } else { if (!check_kick(user, av[1], ts)) { send_event(EVENT_JOIN_CHANNEL, 3, EVENT_START, @@ -957,7 +957,7 @@ void do_sjoin(const char *source, int ac, const char **av) } if (is_sqlined && !is_oper(user)) { - anope_cmd_kick(s_OperServ, av[1], s, "Q-Lined"); + anope_SendKick(s_OperServ, av[1], s, "Q-Lined"); } else { if (!check_kick(user, av[1], ts)) { send_event(EVENT_JOIN_CHANNEL, 3, EVENT_START, @@ -1032,7 +1032,7 @@ void do_sjoin(const char *source, int ac, const char **av) } if (is_sqlined && !is_oper(user)) { - anope_cmd_kick(s_OperServ, av[1], s, "Q-Lined"); + anope_SendKick(s_OperServ, av[1], s, "Q-Lined"); } else { if (!check_kick(user, av[1], ts)) { send_event(EVENT_JOIN_CHANNEL, 3, EVENT_START, @@ -1093,7 +1093,7 @@ void do_sjoin(const char *source, int ac, const char **av) } if (is_sqlined && !is_oper(user)) { - anope_cmd_kick(s_OperServ, av[1], user->nick, "Q-Lined"); + anope_SendKick(s_OperServ, av[1], user->nick, "Q-Lined"); } else { send_event(EVENT_JOIN_CHANNEL, 3, EVENT_START, user->nick, av[1]); -- cgit