mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 15:26:37 +00:00
pngbot.py:IrcBot.readline(): correctly parse messages w/o a prefix.
This commit is contained in:
parent
90d9d146f1
commit
c6aa3f9ad9
@ -65,7 +65,7 @@ class IrcBot:
|
|||||||
if msg[0][0] == ':':
|
if msg[0][0] == ':':
|
||||||
msg = [msg[0][1:]] + msg[1:]
|
msg = [msg[0][1:]] + msg[1:]
|
||||||
else:
|
else:
|
||||||
msg = [""] + msg[1:]
|
msg = [""] + msg[0:]
|
||||||
return msg
|
return msg
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ sendline(): Parse and send single line to server from list
|
# {{{ sendline(): Parse and send single line to server from list
|
||||||
|
Loading…
Reference in New Issue
Block a user