3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-30 14:49:28 +01:00

ts6: fix 'ts' value type in handle_invite

This commit is contained in:
James Lu 2017-07-05 02:10:24 -07:00
parent 69f3ae52ec
commit 1acd654e6e

View File

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