From d425cb9d470420b17608128ba1c3178fa3b7d719 Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 28 Mar 2017 08:08:39 -0700 Subject: [PATCH] relay: fix case sensitivity in channel TS check --- plugins/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index 7af7467..1c0b42d 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -1779,7 +1779,7 @@ def link(irc, source, args): return our_ts = irc.channels[localchan].ts - their_ts = world.networkobjects[remotenet].channels[args.channel].ts + their_ts = world.networkobjects[remotenet].channels[channel].ts if (our_ts < their_ts) and irc.proto.hasCap('has-ts'): log.debug('(%s) relay: Blocking link request %s%s -> %s%s due to bad TS (%s < %s)', irc.name, irc.name, localchan, remotenet, args.channel, our_ts, their_ts)