Fixed bug with lines not ending in \n because of the optimization added earlier, storing the original string form as originally received.

This commit is contained in:
Jeremy Fincher 2003-09-22 11:04:39 +00:00
parent d39475b528
commit 9092fb7b83
1 changed files with 2 additions and 0 deletions

View File

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