mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
relay: skip channel TS check for Clientbot
This commit is contained in:
parent
a5d97c15e7
commit
d230af1d5e
@ -1698,7 +1698,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