summaryrefslogtreecommitdiff
path: root/src/tabs
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-12-19 22:22:39 +0100
committermathieui <mathieui@mathieui.net>2014-12-19 22:22:39 +0100
commit26025511cf820b5929990cc9be806fa9a08f7d00 (patch)
tree98b1fce64d3883452951ca25d3d75360ab59aa0e /src/tabs
parentd932921be3ba64f886af2276067b4de6a68e0c04 (diff)
downloadpoezio-26025511cf820b5929990cc9be806fa9a08f7d00.tar.gz
poezio-26025511cf820b5929990cc9be806fa9a08f7d00.tar.bz2
poezio-26025511cf820b5929990cc9be806fa9a08f7d00.tar.xz
poezio-26025511cf820b5929990cc9be806fa9a08f7d00.zip
Fix a traceback in /role
Diffstat (limited to 'src/tabs')
-rw-r--r--src/tabs/muctab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs/muctab.py b/src/tabs/muctab.py
index 81a3367f..78dbbac9 100644
--- a/src/tabs/muctab.py
+++ b/src/tabs/muctab.py
@@ -689,7 +689,7 @@ class MucTab(ChatTab):
_('Error'))
if not safeJID(self.name + '/' + nick):
- return self.core('Invalid nick', 'Info')
+ return self.core.information('Invalid nick', 'Info')
muc.set_user_role(self.core.xmpp, self.name, nick, reason, role,
callback=callback)