3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

ts6: fix wrong argument count when parsing INVITE ts

This commit is contained in:
James Lu 2017-06-29 22:00:19 -07:00
parent d01e797219
commit 7cfc63d6ed

View File

@ -638,7 +638,7 @@ class TS6Protocol(TS6BaseProtocol):
target = args[0]
channel = self.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