summaryrefslogtreecommitdiff
path: root/src/multiuserchat.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/multiuserchat.py')
-rw-r--r--src/multiuserchat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multiuserchat.py b/src/multiuserchat.py
index 5101b708..4f132fd4 100644
--- a/src/multiuserchat.py
+++ b/src/multiuserchat.py
@@ -50,7 +50,7 @@ class MultiUserChat(object):
def on_connected(self, jid):
self.own_jid = jid
rooms = config.get('rooms', '')
- if rooms == '':
+ if rooms == '' or type(rooms) != str:
return
else:
rooms = rooms.split(':')