mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
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:
|
||||
s, last = s.split(' :', 1)
|
||||
args = s.split()
|
||||
args.append(last.rstrip())
|
||||
args.append(last.rstrip('\r\n'))
|
||||
else:
|
||||
args = s.split()
|
||||
command = args.pop(0)
|
||||
|
Loading…
Reference in New Issue
Block a user