diff options
author | phil-lavin <phil-lavin@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-19 21:16:20 +0000 |
---|---|---|
committer | phil-lavin <phil-lavin@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-19 21:16:20 +0000 |
commit | 1b636ed4ff0a03a4dd21bbf09ce5c9b79662cac9 (patch) | |
tree | dfacc74d41973cca018df3cb2ffa359e6a02ba5a /src | |
parent | 61b6c92ee22feb073592d3118b497eba5325fb64 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/core/bs_bot.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 |