summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-07-26 00:13:47 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-07-26 00:13:47 +0000
commitce7689f7db095324836af970e43d001e508b9c07 (patch)
tree8f2e1827b93eed5770314ab7668515d5e81deaf6 /src
parent52b65bc2967fee1f6eba74c3a8f1ed65dc628912 (diff)
downloadpoezio-ce7689f7db095324836af970e43d001e508b9c07.tar.gz
poezio-ce7689f7db095324836af970e43d001e508b9c07.tar.bz2
poezio-ce7689f7db095324836af970e43d001e508b9c07.tar.xz
poezio-ce7689f7db095324836af970e43d001e508b9c07.zip
do not empty the topic on /topic command. Fixed #1676
Diffstat (limited to 'src')
-rw-r--r--src/gui.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui.py b/src/gui.py
index 6e0d33e1..26a4a00b 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -878,6 +878,7 @@ class Gui(object):
room = self.current_room()
if len(args) == 0:
self.add_message_to_room(room, _("The subject of the room is: %s") % room.topic.decode('utf-8'))
+ return
subject = ' '.join(args)
if not room.joined or room.name == "Info":
return