3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 04:02:45 +01:00

ts6: fix wrong argument count when parsing INVITE ts

(cherry picked from commit 7cfc63d6ed)
This commit is contained in:
James Lu 2017-07-05 02:09:55 -07:00
parent d2d176b6f9
commit 69f3ae52ec

View File

@ -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