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/modules/cs_enforce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c index 8782f89ec..4c9d38065 100644 --- a/src/modules/cs_enforce.c +++ b/src/modules/cs_enforce.c @@ -122,7 +122,7 @@ void do_enforce_restricted(Channel * c) reason = getstring(u->na, CHAN_NOT_ALLOWED_TO_JOIN); anope_SendMode(whosends(ci), ci->name, "+b %s %lu", mask, time(NULL)); - anope_cmd_kick(whosends(ci), ci->name, u->nick, "%s", reason); + anope_SendKick(whosends(ci), ci->name, u->nick, "%s", reason); av[0] = ci->name; av[1] = u->nick; av[2] = reason; @@ -162,7 +162,7 @@ void do_enforce_cmode_R(Channel * c) || !(c->mode & cbm->flag)) anope_SendMode(whosends(ci), ci->name, "+b %s %lu", mask, time(NULL)); - anope_cmd_kick(whosends(ci), ci->name, u->nick, "%s", reason); + anope_SendKick(whosends(ci), ci->name, u->nick, "%s", reason); av[0] = ci->name; av[1] = u->nick; av[2] = reason; -- cgit