Verified Commit 26025511 authored by mathieui's avatar mathieui
Browse files

Fix a traceback in /role

parent d932921b
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment