diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:31:33 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:31:33 +0000 |
commit | 4e395e19629abe6b93c4b14a0608d071dbf4b5b4 (patch) | |
tree | eb5005053da22904b34a5679ef4001ae3c713445 /src/modules/cs_enforce.c | |
parent | 341b226c63e5cf193246ec983e0736dd5af78be7 (diff) |
KICK, notice ops.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1303 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules/cs_enforce.c')
-rw-r--r-- | src/modules/cs_enforce.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |