summaryrefslogtreecommitdiff
path: root/src/room.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/room.py')
-rw-r--r--src/room.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/room.py b/src/room.py
index 3ff655fb..a5a05845 100644
--- a/src/room.py
+++ b/src/room.py
@@ -45,6 +45,9 @@ class Room(TextBuffer):
self.users = []
self.joined = False
+ def get_single_line_topic(self):
+ return self.topic.replace('\n', '|')
+
def log_message(self, txt, time, nickname):
"""
Log the messages in the archives, if it needs