home
·
contact
·
privacy
projects
/
plomlombot-irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
406dc83
)
Fix crash on "!" message.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 5 Jun 2016 16:43:04 +0000
(18:43 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 5 Jun 2016 16:43:04 +0000
(18:43 +0200)
plomlombot.py
patch
|
blob
|
history
diff --git
a/plomlombot.py
b/plomlombot.py
index 35d3c2fbded5a454f974df98ac24dcec362a8ed0..ac78be9fa88d967fd5e71b6cbd37bfa710c17787 100755
(executable)
--- a/
plomlombot.py
+++ b/
plomlombot.py
@@
-488,7
+488,7
@@
class Session:
notice("maximum number of urls to parse per message "
"reached")
break
- if "!" == msg[0]:
+ if "!" == msg[0]
and len(tokens) > 1
:
tokens = msg[1:].split()
argument = str.join(" ", tokens[1:])
handle_command(tokens[0], argument, notice, target, self)