From cb691413de1972703e927bada0e549e67d1fe422 Mon Sep 17 00:00:00 2001 From: AZ Huang Date: Thu, 20 Feb 2014 18:56:48 +0800 Subject: [PATCH] Also send id to tox. --- tox-irc-sync.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox-irc-sync.py b/tox-irc-sync.py index e17a61e..b1664ef 100644 --- a/tox-irc-sync.py +++ b/tox-irc-sync.py @@ -99,6 +99,8 @@ class SyncBot(Tox): content == '^echobot': self.irc_send('PRIVMSG %s :%s\r\n' % (CHANNEL, self.get_address())) + self.ensure_exe(self.group_message_send, + (self.tox_group_id, self.get_address())) elif content[1:].startswith('ACTION '): action = '[%s]: %s' % (rx.group(1), rx.group(2)[8:-1])