From 1acd654e6e491fdae3bd0974e7dd2467901b4724 Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 5 Jul 2017 02:10:24 -0700 Subject: [PATCH] ts6: fix 'ts' value type in handle_invite --- protocols/ts6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/ts6.py b/protocols/ts6.py index 44925ad..9128b33 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[2] + ts = int(args[2]) except IndexError: ts = int(time.time()) # We don't actually need to process this; it's just something plugins/hooks can use