mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-23 18:54:05 +01:00
relay: skip channel TS check for Clientbot
(cherry picked from commit d230af1d5e
)
This commit is contained in:
parent
2ed8b68c44
commit
9f4c68f114
@ -1681,7 +1681,7 @@ def link(irc, source, args):
|
||||
|
||||
our_ts = irc.channels[localchan].ts
|
||||
their_ts = world.networkobjects[remotenet].channels[channel].ts
|
||||
if our_ts < their_ts:
|
||||
if (our_ts < their_ts) and irc.protoname != 'clientbot':
|
||||
log.debug('(%s) relay: Blocking link request %s%s -> %s%s due to bad TS (%s < %s)', irc.name,
|
||||
irc.name, localchan, remotenet, channel, our_ts, their_ts)
|
||||
irc.reply("Error: the channel creation date (TS) on %s is lower than the target "
|
||||
|
Loading…
Reference in New Issue
Block a user