mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-18 08:02:51 +01:00
updateTS: skip applying modes if there aren't any
This commit is contained in:
parent
2b0dd0f746
commit
5e16eeea41
@ -1076,6 +1076,7 @@ class Protocol():
|
|||||||
p.clear()
|
p.clear()
|
||||||
|
|
||||||
def _apply():
|
def _apply():
|
||||||
|
if modes:
|
||||||
log.debug("(%s) Applying modes on channel %s (TS ok)", self.irc.name,
|
log.debug("(%s) Applying modes on channel %s (TS ok)", self.irc.name,
|
||||||
channel)
|
channel)
|
||||||
self.irc.applyModes(channel, modes)
|
self.irc.applyModes(channel, modes)
|
||||||
|
Loading…
Reference in New Issue
Block a user