Fix /info (role and affiliation were inverted)

This commit is contained in:
mathieui 2012-07-19 02:05:02 +02:00
parent 082067afe9
commit 0de6a197f6

View file

@ -737,8 +737,8 @@ class MucTab(ChatTab):
info = '%s%s: show: %s, affiliation: %s, role: %s%s' % (arg,
' (%s)' % user.jid if user.jid else '',
user.show or 'Available',
user.role or 'None',
user.affiliation or 'None',
user.role or 'None',
'\n%s' % user.status if user.status else '')
self.core.information(info, 'Info')