From: Matthew Vernon Date: Wed, 17 Aug 2011 13:55:27 +0000 (+0100) Subject: change blame text to modified from added (suggestion from rejs) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?p=irc.git;a=commitdiff_plain;h=30d4a98347868e23712ffa5f85fd473cc394ef65 change blame text to modified from added (suggestion from rejs) --- diff --git a/commands.py b/commands.py index 7232bd1..19f8c4b 100755 --- a/commands.py +++ b/commands.py @@ -321,7 +321,7 @@ def blameq(bot,cmd,nick,conn,public,fish,tdb,tdbk,fdb,fdbk,sdb,sdbk): if len(ans[0])==1: bot.automsg(public,nick,ans[0]) else: - bot.automsg(public,nick,"Added %s: %s" % (ans[0][2].isoformat(),ans[0][1])) + bot.automsg(public,nick,"Modified %s: %s" % (ans[0][2].isoformat(),ans[0][1])) elif len(ans)>4: bot.automsg(public,nick,"I found %d matches, which is too many. Please be more specific!" % (len(ans)) ) else: @@ -329,7 +329,7 @@ def blameq(bot,cmd,nick,conn,public,fish,tdb,tdbk,fdb,fdbk,sdb,sdbk): if len(a)==1: bot.automsg(public,nick,a) else: - bot.automsg(public,nick,"'%s' added on %s: %s" % (a[0],a[2].isoformat(),a[1])) + bot.automsg(public,nick,"'%s' modified on %s: %s" % (a[0],a[2].isoformat(),a[1])) ### say to msg/channel def sayq(bot, cmd, nick, conn, public):