1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 09:23:13 +02:00

Extension to r2952 adding logging for BS BOT

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2969 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
phil-lavin
2010-05-19 21:16:20 +00:00
parent 61b6c92ee2
commit 1b636ed4ff
2 changed files with 10 additions and 1 deletions
+8
View File
@@ -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
+2 -1
View File
@@ -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