mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed removal of leading whitespace on last argument in parsing messages.
This commit is contained in:
parent
6287d61d9e
commit
33f76608fa
@ -66,7 +66,7 @@ class IrcMsg(object):
|
|||||||
if s.find(' :') != -1:
|
if s.find(' :') != -1:
|
||||||
s, last = s.split(' :', 1)
|
s, last = s.split(' :', 1)
|
||||||
args = s.split()
|
args = s.split()
|
||||||
args.append(last.strip())
|
args.append(last.rstrip())
|
||||||
else:
|
else:
|
||||||
args = s.split()
|
args = s.split()
|
||||||
command = args.pop(0)
|
command = args.pop(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user