Fixed removal of leading whitespace on last argument in parsing messages.

This commit is contained in:
Jeremy Fincher 2003-04-14 04:45:01 +00:00
parent 6287d61d9e
commit 33f76608fa

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.strip()) args.append(last.rstrip())
else: else:
args = s.split() args = s.split()
command = args.pop(0) command = args.pop(0)