summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-06-29 00:13:22 +0200
committermathieui <mathieui@mathieui.net>2011-06-29 00:13:22 +0200
commit5a5736bb3c06b3a1d31c5db46cb41f8d8e491aa1 (patch)
tree6a402abce3a14d7545fe94f5d89deb30756872fd
parentb470c7875f79563ffc0c05f68c917866c2ca4d54 (diff)
downloadpoezio-5a5736bb3c06b3a1d31c5db46cb41f8d8e491aa1.tar.gz
poezio-5a5736bb3c06b3a1d31c5db46cb41f8d8e491aa1.tar.bz2
poezio-5a5736bb3c06b3a1d31c5db46cb41f8d8e491aa1.tar.xz
poezio-5a5736bb3c06b3a1d31c5db46cb41f8d8e491aa1.zip
Fixes #2220 (that was hard)
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index c4c0edaa..52b783bb 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1240,6 +1240,7 @@ class Core(object):
else: # no server could be found, print a message and return
self.information(_("You didn't specify a server for the room you want to join"), 'Error')
return
+ room = room.lower()
r = self.get_room_by_name(room)
if len(args) == 2: # a password is provided
password = args[1]
@@ -1248,7 +1249,6 @@ class Core(object):
return
if room.startswith('@'):
room = room[1:]
- room = room.lower()
current_status = self.get_status()
if r and not r.joined:
muc.join_groupchat(self.xmpp, room, nick, password,