From 69f3ae52ec1d63a5982373ff614034961ee33936 Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 5 Jul 2017 02:09:55 -0700 Subject: [PATCH] ts6: fix wrong argument count when parsing INVITE ts (cherry picked from commit 7cfc63d6edcd218da82d75e2032359b50cc9891a) --- protocols/ts6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/ts6.py b/protocols/ts6.py index 8249e28..44925ad 100644 --- a/protocols/ts6.py +++ b/protocols/ts6.py @@ -638,7 +638,7 @@ class TS6Protocol(TS6BaseProtocol): target = args[0] channel = self.irc.toLower(args[1]) try: - ts = args[3] + ts = args[2] except IndexError: ts = int(time.time()) # We don't actually need to process this; it's just something plugins/hooks can use