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
1 changed files with 1 additions and 1 deletions

View File

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