Smal bug fix.

This commit is contained in:
AZ Huang 2013-12-12 00:32:53 +08:00
parent f9645b665d
commit 687fd41c86

View file

@ -96,9 +96,9 @@ class SyncBot(Tox):
self.irc.send('PRIVMSG %s :%s\r\n' % self.irc.send('PRIVMSG %s :%s\r\n' %
(CHANNEL, self.get_address())) (CHANNEL, self.get_address()))
elif self.tox_group_id != None: elif self.tox_group_id != None:
self.sent = msg
self.ensure_exe(self.group_message_send, self.ensure_exe(self.group_message_send,
(self.tox_group_id, msg)) (self.tox_group_id, msg))
self.sent = msg
l = line.rstrip().split() l = line.rstrip().split()
if l[0] == "PING": if l[0] == "PING":