From 687fd41c8610ee8c7dc44a251a46b29ecbf9cb78 Mon Sep 17 00:00:00 2001 From: AZ Huang Date: Thu, 12 Dec 2013 00:32:53 +0800 Subject: [PATCH] Smal bug fix. --- tox-irc-sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox-irc-sync.py b/tox-irc-sync.py index 222b16a..c852cc3 100644 --- a/tox-irc-sync.py +++ b/tox-irc-sync.py @@ -96,9 +96,9 @@ class SyncBot(Tox): self.irc.send('PRIVMSG %s :%s\r\n' % (CHANNEL, self.get_address())) elif self.tox_group_id != None: + self.sent = msg self.ensure_exe(self.group_message_send, (self.tox_group_id, msg)) - self.sent = msg l = line.rstrip().split() if l[0] == "PING":