diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index 4be026289..7feedfb87 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -169,6 +169,9 @@ int do_bot(User * u) anope_cmd_bot_nick(bi->nick, bi->user, bi->host, bi->real, ircd->botserv_bot_mode); + alog("%s: %s!%s@%s added bot %s!%s@%s (%s) to the bot list", + s_BotServ, u->nick, u->username, u->host, bi->nick, bi->user, + bi->host, bi->real); notice_lang(s_BotServ, u, BOT_BOT_ADDED, bi->nick, bi->user, bi->host, bi->real); @@ -310,6 +313,9 @@ int do_bot(User * u) bot_rejoin_all(bi); } + alog("%s: %s!%s@%s changed bot %s to: %s!%s@%s (%s)", + s_BotServ, u->nick, u->username, u->host, oldnick, bi->nick, bi->user, + bi->host, bi->real); notice_lang(s_BotServ, u, BOT_BOT_CHANGED, oldnick, bi->nick, bi->user, bi->host, bi->real); @@ -334,6 +340,8 @@ int do_bot(User * u) } delbot(bi); + alog("%s: %s!%s@%s deleted bot %s from the bot list", + s_BotServ, u->nick, u->username, u->host, nick); notice_lang(s_BotServ, u, BOT_BOT_DELETED, nick); } } else diff --git a/version.log b/version.log index 0fd31d0d8..a8b35033e 100644 --- a/version.log +++ b/version.log @@ -9,9 +9,10 @@ VERSION_MAJOR="1" VERSION_MINOR="8" VERSION_PATCH="4" VERSION_EXTRA="-svn" -VERSION_BUILD="2966" +VERSION_BUILD="2969" # $Log$ # Changes since the 1.8.4 Release +#Revision 2969 - Extension to r2952 adding logging for BS BOT #Revision 2966 - Fixed English in e-mail messages #Revision 2962 - Fixed bug with r2952 (%s was used rather than %d) #Revision 2952 - Added a tonne of alog()s to log all stateful commands