diff --git a/src/windows.py b/src/windows.py index ea2cb3f7..e5973ec9 100644 --- a/src/windows.py +++ b/src/windows.py @@ -754,7 +754,7 @@ class TextWin(Win): """ if None not in self.built_lines: self.built_lines.append(None) - if room: + if room and room.messages: self.separator_after = room.messages[-1] def build_new_message(self, message, history=None, clean=True, highlight=False):