From f4d78f15e506731be283d5d8932d29a0d51bc5cb Mon Sep 17 00:00:00 2001 From: AZ Huang Date: Thu, 20 Feb 2014 09:17:51 +0000 Subject: [PATCH] Removing color coding. fix it stal! --- tox-irc-sync.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tox-irc-sync.py b/tox-irc-sync.py index e78dacb..e17a61e 100644 --- a/tox-irc-sync.py +++ b/tox-irc-sync.py @@ -147,8 +147,6 @@ class SyncBot(Tox): def on_group_message(self, groupnumber, friendgroupnumber, message): if message != self.sent: name = self.group_peername(groupnumber, friendgroupnumber) - if message.startswith('>'): - message = ('\x039%s\x03' % message) print('TOX> %s: %s' % (name, message)) if message.startswith('^'): self.irc_send('PRIVMSG %s :%s\r\n' % (CHANNEL, message)) @@ -159,8 +157,6 @@ class SyncBot(Tox): def on_group_action(self, groupnumber, friendgroupnumber, action): if action != self.sent: name = self.group_peername(groupnumber, friendgroupnumber) - if action.startswith('>'): - action = ('\x039%s\x03' % action) print('TOX> %s: %s' % (name, action)) self.irc_send('PRIVMSG %s :\x01ACTION [%s]: %s\x01\r\n' % (CHANNEL, name, action))