mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
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:
parent
d39475b528
commit
9092fb7b83
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user