mirror of
https://github.com/anope/anope.git
synced 2026-07-08 12:23:13 +02:00
BUILD : 1.7.17 (1208) BUGS : N/A NOTES : EVENT_BOT_KICK and EVENT_BOT_ADD added
git-svn-id: svn://svn.anope.org/anope/trunk@1208 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@927 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
3fb604b1c7
commit
ee5559be07
@@ -831,6 +831,7 @@ static void check_ban(ChannelInfo * ci, User * u, int ttbtype)
|
||||
av[2] = mask;
|
||||
anope_cmd_mode(ci->bi->nick, av[0], "+b %s", av[2]);
|
||||
do_cmode(ci->bi->nick, 3, av);
|
||||
send_event(EVENT_BOT_BAN,3,u->nick, ci->name, mask);
|
||||
free(av[1]);
|
||||
}
|
||||
}
|
||||
@@ -861,6 +862,7 @@ static void bot_kick(ChannelInfo * ci, User * u, int message, ...)
|
||||
av[2] = buf;
|
||||
anope_cmd_kick(ci->bi->nick, av[0], av[1], "%s", av[2]);
|
||||
do_kick(ci->bi->nick, 3, av);
|
||||
send_event(EVENT_BOT_KICK,3,u->nick,ci->name,buf);
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user