Remove pass through mode.
This commit is contained in:
parent
93a1f5ae7d
commit
c5de892685
@ -153,12 +153,11 @@ class SyncBot(Tox):
|
||||
print('TOX> %s: %s' % (name, message))
|
||||
if message.startswith('>'):
|
||||
message = '\x0309%s\x03' % message
|
||||
if message.startswith('^'):
|
||||
self.irc_send('PRIVMSG %s :%s\r\n' % (CHANNEL, message))
|
||||
self.handle_command(message)
|
||||
else:
|
||||
|
||||
self.irc_send('PRIVMSG %s :[%s]: %s\r\n' %
|
||||
(CHANNEL, name, message))
|
||||
if message.startswith('^'):
|
||||
self.handle_command(message)
|
||||
|
||||
def on_group_action(self, groupnumber, friendgroupnumber, action):
|
||||
name = self.group_peername(groupnumber, friendgroupnumber)
|
||||
|
Loading…
Reference in New Issue
Block a user