summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-07-19 02:05:02 +0200
committermathieui <mathieui@mathieui.net>2012-07-19 02:05:43 +0200
commit0de6a197f645d7bac3163355cbb999a4ea0f1afc (patch)
treee483a6f2c93bc49943c387947d3ec2e5f9b134e6
parent082067afe991e59afe4a90c57abc048bc6ea2ca9 (diff)
downloadpoezio-0de6a197f645d7bac3163355cbb999a4ea0f1afc.tar.gz
poezio-0de6a197f645d7bac3163355cbb999a4ea0f1afc.tar.bz2
poezio-0de6a197f645d7bac3163355cbb999a4ea0f1afc.tar.xz
poezio-0de6a197f645d7bac3163355cbb999a4ea0f1afc.zip
Fix /info (role and affiliation were inverted)
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 4d1d9072..f697d888 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -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')