mirror of https://github.com/Mikaela/Limnoria.git
Changed to only strip \r\n from right side of last argument.
This commit is contained in:
parent
09340376cb
commit
c0c5101cd3
|
@ -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.rstrip())
|
args.append(last.rstrip('\r\n'))
|
||||||
else:
|
else:
|
||||||
args = s.split()
|
args = s.split()
|
||||||
command = args.pop(0)
|
command = args.pop(0)
|
||||||
|
|
Loading…
Reference in New Issue