Fix a traceback in /topic (with no argument)

This commit is contained in:
mathieui 2014-04-29 03:12:57 +02:00
parent 6391d97b3a
commit 793b78f009

View file

@ -534,8 +534,8 @@ class MucTab(ChatTab):
if not arg.strip():
self._text_buffer.add_message(
_("\x19%s}The subject of the room is: %s") %
dump_tuple(get_theme().COLOR_INFORMATION_TEXT,
self.topic))
(dump_tuple(get_theme().COLOR_INFORMATION_TEXT),
self.topic))
self.refresh()
return
subject = arg