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":