3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-28 05:29:25 +01:00

updateTS: remove mentions of 'outbound' variable from logging

This commit is contained in:
James Lu 2016-06-25 11:34:14 -07:00
parent 5cb550afd9
commit 51f1506f90

View File

@ -1087,8 +1087,8 @@ class Protocol():
# apply the ones in the queue to be set. This is regardless of whether we're sending
# outgoing modes or receiving some - both are handled the same with a "received" TS,
# and comparing it with the one we have.
log.debug("(%s/%s) received TS of %s is lower than ours %s; outbound mode: %s; setting modes %s",
self.irc.name, channel, their_ts, our_ts, outbound, modes)
log.debug("(%s/%s) received TS of %s is lower than ours %s; setting modes %s",
self.irc.name, channel, their_ts, our_ts, modes)
# Update the channel TS to theirs regardless of whether the mode setting passes.
log.debug('(%s) Setting channel TS of %s to %s from %s',
@ -1099,14 +1099,14 @@ class Protocol():
_apply()
elif their_ts == our_ts:
log.debug("(%s/%s) remote TS of %s is equal to ours %s; outbound mode: %s; setting modes %s",
self.irc.name, channel, their_ts, our_ts, outbound, modes)
log.debug("(%s/%s) remote TS of %s is equal to ours %s; setting modes %s",
self.irc.name, channel, their_ts, our_ts, modes)
# Their TS is equal to ours. Merge modes.
_apply()
elif their_ts > our_ts:
log.debug("(%s/%s) remote TS of %s is higher than ours %s; outbound mode: %s; setting modes %s",
self.irc.name, channel, their_ts, our_ts, outbound, modes)
log.debug("(%s/%s) remote TS of %s is higher than ours %s; setting modes %s",
self.irc.name, channel, their_ts, our_ts, modes)
# Their TS is younger than ours. Clear the state and replace the modes for the channel
# with the ones being set.
_clear()