diff options
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core.py b/src/core.py index 3fcfabfb..199bf237 100644 --- a/src/core.py +++ b/src/core.py @@ -1213,12 +1213,11 @@ class Core(object): Move the new-messages separator at the bottom on the current text. """ - try: - room = self.current_tab().get_room() - except: + window = self.current_tab().get_text_window() + if not window: return - room.remove_line_separator() - room.add_line_separator() + window.remove_line_separator() + window.add_line_separator() self.refresh_window() def information(self, msg, typ=''): |