do not empty the topic on /topic command. Fixed #1676

This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-07-26 00:13:47 +00:00
parent 52b65bc296
commit ce7689f7db

View file

@ -878,6 +878,7 @@ class Gui(object):
room = self.current_room() room = self.current_room()
if len(args) == 0: if len(args) == 0:
self.add_message_to_room(room, _("The subject of the room is: %s") % room.topic.decode('utf-8')) self.add_message_to_room(room, _("The subject of the room is: %s") % room.topic.decode('utf-8'))
return
subject = ' '.join(args) subject = ' '.join(args)
if not room.joined or room.name == "Info": if not room.joined or room.name == "Info":
return return