From: Matthew Vernon Date: Tue, 6 Dec 2011 15:48:30 +0000 (+0000) Subject: Update fishpond.last for slashes X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?a=commitdiff_plain;h=87650c67dbdf05e88db791be3df68dc8d3ae58e8;hp=ab1b2280c593bab0b47e054b191c676cee285995;p=irc.git Update fishpond.last for slashes slash didn't update fishpond.last, which meant that ~blame #last didn't work properly. --- diff --git a/commands.py b/commands.py index 19f8c4b..8c22d29 100755 --- a/commands.py +++ b/commands.py @@ -125,6 +125,7 @@ def slashq(bot, cmd, nick, conn, public, cfg): return me = bot.connection.get_nickname() slash_msg = random.choice(fishlist) + fishpond.last=slash_msg # The bot won't slash people with themselves if irc_lower(who[0]) == irc_lower(who[1]): conn.notice(nick, "oooooh no missus!")