[Paco] Fix bug with /kick command.

This commit is contained in:
Yann Leboulanger 2009-07-12 18:34:47 +02:00
parent 7a976135e2
commit d75fbca31b
1 changed files with 2 additions and 2 deletions

View File

@ -1631,8 +1631,8 @@ class GroupchatControl(ChatControlBase):
else:
reason = test_reason
if nb_match == 1:
gajim.connections[self.account].gc_set_role(self.room_jid, nick,
'none', reason)
gajim.connections[self.account].gc_set_role(self.room_jid,
nick_kick, 'none', reason)
self.clear(self.msg_textview)
elif nb_match > 1:
self.print_conversation(_('There is an ambiguity: %d nicks '