From 5fc1f9728afcc71923d51bdf42e3ab70495e4486 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 21 Feb 2015 22:05:32 +0100 Subject: Fix a bug in /bookmark --- src/core/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3