summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-10-09 19:54:13 +0200
committermathieui <mathieui@mathieui.net>2011-10-09 19:54:13 +0200
commitbe2d66f8a2ce63800d41f296d502e1338f6f7bed (patch)
tree15a0aa5bf6fbb0f70d086350d5705f0e3aaa2768 /src
parente35bf19aed81ed48a1a3489b4ee3edba69a04b67 (diff)
downloadpoezio-be2d66f8a2ce63800d41f296d502e1338f6f7bed.tar.gz
poezio-be2d66f8a2ce63800d41f296d502e1338f6f7bed.tar.bz2
poezio-be2d66f8a2ce63800d41f296d502e1338f6f7bed.tar.xz
poezio-be2d66f8a2ce63800d41f296d502e1338f6f7bed.zip
Fixed #2268
Diffstat (limited to 'src')
-rw-r--r--src/core.py2
-rw-r--r--src/tabs.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 766be909..9f36b78a 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1269,7 +1269,7 @@ class Core(object):
"""
/join [room][/nick] [password]
"""
- args = arg.split()
+ args = common.shell_split(arg)
password = None
if len(args) == 0:
t = self.current_tab()
diff --git a/src/tabs.py b/src/tabs.py
index 8ddf60ad..60d91777 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -477,7 +477,7 @@ class MucTab(ChatTab):
muc.leave_groupchat(self.core.xmpp, self.get_name(), self.get_room().own_nick, arg)
self.get_room().disconnect()
self.core.disable_private_tabs(self.get_room().name)
- self.core.command_join('/%s' % self.core.get_bookmark_nickname(self.get_room().name), '0')
+ self.core.command_join('"/%s"' % self.core.get_bookmark_nickname(self.get_room().name), '0')
self.user_win.pos = 0
def command_recolor(self, arg):