Fix a traceback in /role
This commit is contained in:
parent
d932921be3
commit
26025511cf
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue