mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-17 23:52:49 +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()
|
||||
|
||||
def _apply():
|
||||
if modes:
|
||||
log.debug("(%s) Applying modes on channel %s (TS ok)", self.irc.name,
|
||||
channel)
|
||||
self.irc.applyModes(channel, modes)
|
||||
|
Loading…
Reference in New Issue
Block a user