From d75fbca31b561861f019f920d7b9b4c359088c65 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 12 Jul 2009 18:34:47 +0200 Subject: [PATCH] [Paco] Fix bug with /kick command. --- src/groupchat_control.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index e869892be..6d88a2b1c 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -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 '