From 1ca3a759bdb9c83d1eca75ae07167b3eea653b07 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 21 Jul 2013 20:44:36 +0200 Subject: [PATCH] fix showing correct previous sent message. Fixes #7361 --- src/chat_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat_control.py b/src/chat_control.py index e2d6f6d5c..32614b096 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -900,7 +900,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools): def _cb(msg, cb, *cb_args): self.last_sent_msg = msg - self.last_sent_txt = cb_args[1] + self.last_sent_txt = cb_args[0] if cb: cb(msg, *cb_args)