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 flirt from rjk
[irc.git]
/
commands.py
diff --git
a/commands.py
b/commands.py
old mode 100644
(file)
new mode 100755
(executable)
index
bbcaeb8
..
7232bd1
--- a/
commands.py
+++ b/
commands.py
@@
-300,6
+300,9
@@
def __getall(tdb,tdbk,fdb,fdbk,sdb,sdbk,what):
def blameq(bot,cmd,nick,conn,public,fish,tdb,tdbk,fdb,fdbk,sdb,sdbk):
clist=cmd.split()
def blameq(bot,cmd,nick,conn,public,fish,tdb,tdbk,fdb,fdbk,sdb,sdbk):
clist=cmd.split()
+ if len(clist) < 2:
+ bot.automsg(public,nick,"Who or what do you want to blame?")
+ return
cwhat=' '.join(clist[2:])
if clist[1]=="#last":
ans=__getall(tdb,tdbk,fdb,fdbk,sdb,sdbk,fish.last)
cwhat=' '.join(clist[2:])
if clist[1]=="#last":
ans=__getall(tdb,tdbk,fdb,fdbk,sdb,sdbk,fish.last)