fix the comment, too

This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-11-24 06:03:51 +00:00
parent e1ed45ae5f
commit c1a62ac897

View file

@ -420,7 +420,7 @@ class Core(object):
# Differentiate both type of messages, and call the appropriate handler. # Differentiate both type of messages, and call the appropriate handler.
jid_from = message['from'] jid_from = message['from']
for tab in self.tabs: for tab in self.tabs:
if tab.get_name() == jid_from.full: # check all the MUC we are in if tab.get_name() == jid_from.full:
if message['type'] == 'error': if message['type'] == 'error':
return self.room_error(message, tab.get_room().name) return self.room_error(message, tab.get_room().name)
else: else: