summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-02-21 22:05:32 +0100
committermathieui <mathieui@mathieui.net>2015-02-21 22:05:32 +0100
commit5fc1f9728afcc71923d51bdf42e3ab70495e4486 (patch)
tree78d4fdf491c85b5201a870f78126f1b063a0fb91
parent2583b6a934fb9b9f4cbe3e669787101b991cd1d5 (diff)
downloadpoezio-5fc1f9728afcc71923d51bdf42e3ab70495e4486.tar.gz
poezio-5fc1f9728afcc71923d51bdf42e3ab70495e4486.tar.bz2
poezio-5fc1f9728afcc71923d51bdf42e3ab70495e4486.tar.xz
poezio-5fc1f9728afcc71923d51bdf42e3ab70495e4486.zip
Fix a bug in /bookmark
-rw-r--r--src/core/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/commands.py b/src/core/commands.py
index cacd474b..916f078a 100644
--- a/src/core/commands.py
+++ b/src/core/commands.py
@@ -452,7 +452,7 @@ def _add_bookmark(self, jid, autojoin, password, method):
return _add_wildcard_bookmarks(self, method)
else:
info = safeJID(jid)
- roomname, nick = info.resource = info.bare, info.resource
+ roomname, nick = info.bare, info.resource
if roomname == '':
if not isinstance(self.current_tab(), tabs.MucTab):
return