Changed to only strip \r\n from right side of last argument.

This commit is contained in:
Jeremy Fincher 2003-05-21 17:52:23 +00:00
parent 09340376cb
commit c0c5101cd3

View File

@ -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)