fix showing correct previous sent message. Fixes #7361

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

View File

@ -934,7 +934,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)