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

relay: remove race condition-prone print

Speculative fix #670
This commit is contained in:
James Lu 2021-12-25 00:26:05 -08:00
parent ac7339e460
commit e6401a19df

View File

@ -828,7 +828,7 @@ def relay_joins(irc, channel, users, ts, targetirc=None, **kwargs):
"""
log.debug('(%s) relay.relay_joins: called on %r with users %r, targetirc=%s', irc.name, channel,
['%s/%s' % (user, irc.get_friendly_name(user)) for user in users], targetirc)
users, targetirc)
if ts < 750000:
current_ts = int(time.time())