diff --git a/src/ircmsgs.py b/src/ircmsgs.py index 9a7192422..92ee2afe5 100644 --- a/src/ircmsgs.py +++ b/src/ircmsgs.py @@ -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)