From 75c058dafc8dc13883168b413d22b31de1638148 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Thu, 10 Jun 2010 12:28:25 +0000 Subject: fixed #1468 --- src/gui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui.py b/src/gui.py index bd93f74d..65df0fb2 100644 --- a/src/gui.py +++ b/src/gui.py @@ -784,8 +784,10 @@ Avail: Sets your availability to available and (optional) sets your status """ /topic [new topic] """ - subject = ' '.join(args) room = self.current_room() + if len(args) == 0: + self.add_message_to_room(room, _("The subject of the topic is: %s") % room.topic) + subject = ' '.join(args) if not room.joined or room.name == "Info": return self.muc.change_subject(room.name, subject) -- cgit v1.2.3