diff --git a/src/ircmsgs.py b/src/ircmsgs.py index 2cdc6a121..e4cf177c1 100644 --- a/src/ircmsgs.py +++ b/src/ircmsgs.py @@ -90,6 +90,8 @@ class IrcMsg(object): if s: originalString = s try: + if not s.endswith('\n'): + s += '\n' self._str = s if s[0] == ':': self.prefix, s = s[1:].split(None, 1)