fix showing correct previous sent message. Fixes #7361

This commit is contained in:
Yann Leboulanger 2013-07-21 20:44:36 +02:00
parent e96a2f2604
commit 1ca3a759bd
1 changed files with 1 additions and 1 deletions

View File

@ -900,7 +900,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
def _cb(msg, cb, *cb_args): def _cb(msg, cb, *cb_args):
self.last_sent_msg = msg self.last_sent_msg = msg
self.last_sent_txt = cb_args[1] self.last_sent_txt = cb_args[0]
if cb: if cb:
cb(msg, *cb_args) cb(msg, *cb_args)