1
0
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:
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
2006-12-12 20:21:59 +00:00
parent 3fb604b1c7
commit ee5559be07
5 changed files with 22 additions and 1 deletions
+2
View File
@@ -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);
}
/*************************************************************************/