[Paco] Fix bug with /kick command.
This commit is contained in:
parent
7a976135e2
commit
d75fbca31b
1 changed files with 2 additions and 2 deletions
|
@ -1631,8 +1631,8 @@ class GroupchatControl(ChatControlBase):
|
||||||
else:
|
else:
|
||||||
reason = test_reason
|
reason = test_reason
|
||||||
if nb_match == 1:
|
if nb_match == 1:
|
||||||
gajim.connections[self.account].gc_set_role(self.room_jid, nick,
|
gajim.connections[self.account].gc_set_role(self.room_jid,
|
||||||
'none', reason)
|
nick_kick, 'none', reason)
|
||||||
self.clear(self.msg_textview)
|
self.clear(self.msg_textview)
|
||||||
elif nb_match > 1:
|
elif nb_match > 1:
|
||||||
self.print_conversation(_('There is an ambiguity: %d nicks '
|
self.print_conversation(_('There is an ambiguity: %d nicks '
|
||||||
|
|
Loading…
Add table
Reference in a new issue