1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 21:26:38 +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
+1
View File
@@ -1,6 +1,7 @@
Anope Version S V N
--------------------
12/09 A Ability to see if AutoOp is enabled in NickServ INFO displays. [#621]
12/12 A EVENT_BOT_KICK and EVENT_BOT_BAN added for modules. [ #00]
10/17 F Encryption, users can now pick none, old, md5 or sha1. [ #00]
10/18 F MLock support for +c was missing on ultimate3. [ #00]
10/20 F Error message when unable to register due to NSRegDelay. [#616]
+12
View File
@@ -176,6 +176,12 @@ Anope Internal Events
av[0] Name of the channel the bot has been assigned to.
av[1] The nickname of the bot that has been assigned to the channel.
EVENT_BOT_BAN
A BotServ bot has banned a user, e.g. kickers.
av[0] The nick of the user banned.
av[1] The Channel the user was banned from.
av[2] The mask that was banned.
EVENT_BOT_CHANGE
The properties of a BotServ bot have been changed.
av[0] The nickname of the bot involved.
@@ -221,6 +227,12 @@ Anope Internal Events
av[0] The channel name the bot has just joined.
av[1] The nickname of the bot that has joined the channel.
EVENT_BOT_KICK
A BotServ bot has kicked a user from a channel.
av[0] The name of the user that has been kicked.
av[1] The name of the channel the user was kicked from.
av[2] The reason for the kick.
EVENT_BOT_UNASSIGN
A BotServ bot is being unassigned from a channel. This event is being
sent before the actual removing of the bot is done.
+2
View File
@@ -26,6 +26,8 @@
#define EVENT_BOT_FANTASY_NO_ACCESS "bot_command_no_access"
#define EVENT_BOT_DEL "bot_del"
#define EVENT_BOT_ASSIGN "bot_assign"
#define EVENT_BOT_KICK "bot_kick"
#define EVENT_BOT_BAN "bot_ban"
#define EVENT_TOPIC_UPDATED "chan_topic_updated"
#define EVENT_CHAN_EXPIRE "chan_expire"
#define EVENT_CHAN_REGISTERED "chan_registered"
+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);
}
/*************************************************************************/
+5 -1
View File
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="17"
VERSION_EXTRA="-svn"
VERSION_BUILD="1207"
VERSION_BUILD="1208"
# $Log$
#
# BUILD : 1.7.17 (1208)
# BUGS : N/A
# NOTES : EVENT_BOT_KICK and EVENT_BOT_ADD added
#
# BUILD : 1.7.17 (1207)
# BUGS : 641
# NOTES : Fixed EVENT_TOPIC_UPDATED not being sent when the topic was updated from within certain protocol modules