chiark
/
gitweb
/
~matthewv
/
irc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new trout from rejs
[irc.git]
/
commands.py
diff --git
a/commands.py
b/commands.py
index 7232bd1292fd022061481bb3defe3f01b3d7e1f3..19f8c4b6327f9c577c6792fd91370603cd0d1c5a 100755
(executable)
--- 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:
if len(ans[0])==1:
bot.automsg(public,nick,ans[0])
else:
- bot.automsg(public,nick,"
Add
ed %s: %s" % (ans[0][2].isoformat(),ans[0][1]))
+ bot.automsg(public,nick,"
Modifi
ed %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:
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:
if len(a)==1:
bot.automsg(public,nick,a)
else:
- bot.automsg(public,nick,"'%s'
add
ed on %s: %s" % (a[0],a[2].isoformat(),a[1]))
+ bot.automsg(public,nick,"'%s'
modifi
ed on %s: %s" % (a[0],a[2].isoformat(),a[1]))
### say to msg/channel
def sayq(bot, cmd, nick, conn, public):
### say to msg/channel
def sayq(bot, cmd, nick, conn, public):