From 765f561952d1a77a445128d7cbdc0da0a16c1706 Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 18:37:32 +0000 Subject: Replaced anope_SendKick() with direct call to SendKick() in IRCDProto class. Also added SendKickInternal() function to IRCDProto class, now SendKick() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1331 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 5151226f8..867823bc8 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); ircdproto->SendMode(whosends(ci), ci->name, "+b %s %lu", mask, time(NULL)); - anope_SendKick(whosends(ci), ci->name, u->nick, "%s", reason); + ircdproto->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)) ircdproto->SendMode(whosends(ci), ci->name, "+b %s %lu", mask, time(NULL)); - anope_SendKick(whosends(ci), ci->name, u->nick, "%s", reason); + ircdproto->SendKick(whosends(ci), ci->name, u->nick, "%s", reason); av[0] = ci->name; av[1] = u->nick; av[2] = reason; -- cgit