mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
relay: fix case sensitivity in channel TS check
This commit is contained in:
parent
5c8ddef60b
commit
d425cb9d47
@ -1779,7 +1779,7 @@ def link(irc, source, args):
|
|||||||
return
|
return
|
||||||
|
|
||||||
our_ts = irc.channels[localchan].ts
|
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'):
|
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,
|
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)
|
irc.name, localchan, remotenet, args.channel, our_ts, their_ts)
|
||||||
|
Loading…
Reference in New Issue
Block a user