summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/windows.py2
1 files changed, 1 insertions, 1 deletions
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):