From d230af1d5e3e14a12dc267bbd66b1bcf219e0ae9 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 22 Oct 2016 20:45:29 -0700 Subject: [PATCH] relay: skip channel TS check for Clientbot --- plugins/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index a8fb6d0..c5883d7 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -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 "