From fde7860fc7352d13cc2e34b12ee62b2ae1a7cf21 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 1 Jul 2016 19:45:13 -0700 Subject: [PATCH] ts6: fix wrong args in TB handling I'm not sure where I got that example from. It's wrong. --- protocols/ts6.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protocols/ts6.py b/protocols/ts6.py index 1475e6b..0b3d350 100644 --- a/protocols/ts6.py +++ b/protocols/ts6.py @@ -585,9 +585,9 @@ class TS6Protocol(TS6BaseProtocol): def handle_tb(self, numeric, command, args): """Handles incoming topic burst (TB) commands.""" - # <- :42X TB 1434510754 #channel GLo|o|!GLolol@escape.the.dreamland.ca :Some channel topic - channel = args[1].lower() - ts = args[0] + # <- :42X TB #chat 1467427448 GL!~gl@127.0.0.1 :test + channel = args[0].lower() + ts = args[1] setter = args[2] topic = args[-1] self.irc.channels[channel].topic = topic