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

ts6: actually send original TS in INVITE hook

This commit is contained in:
James Lu 2015-11-15 21:16:03 -08:00
parent 0f269da9b8
commit f3428d264b

View File

@ -588,7 +588,7 @@ class TS6Protocol(TS6BaseProtocol):
except IndexError:
ts = int(time.time())
# We don't actually need to process this; it's just something plugins/hooks can use
return {'target': target, 'channel': channel}
return {'target': target, 'channel': channel, 'ts': ts}
def handle_chghost(self, numeric, command, args):
"""Handles incoming CHGHOST commands."""