Fix a traceback in /role

This commit is contained in:
mathieui 2014-12-19 22:22:39 +01:00
parent d932921be3
commit 26025511cf
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -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)