mirror of
https://github.com/anope/anope.git
synced 2026-07-10 14:23:14 +02:00
KICK, notice ops.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1303 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user