3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 12:12:53 +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] target = args[0]
channel = self.toLower(args[1]) channel = self.toLower(args[1])
try: try:
ts = args[3] ts = args[2]
except IndexError: except IndexError:
ts = int(time.time()) ts = int(time.time())
# We don't actually need to process this; it's just something plugins/hooks can use # We don't actually need to process this; it's just something plugins/hooks can use