mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-11 12:42:34 +01:00
relay: also attempt to part the PyLink service bot on delink
This commit is contained in:
parent
2532042506
commit
61d7bf18d3
@ -540,7 +540,7 @@ def remove_channel(irc, channel):
|
||||
return
|
||||
|
||||
try:
|
||||
world.services['pylink'].remove_persistent_channel(irc, 'relay', channel, try_part=False)
|
||||
world.services['pylink'].remove_persistent_channel(irc, 'relay', channel)
|
||||
except KeyError:
|
||||
log.warning('(%s) relay: failed to remove persistent channel %r on delink', irc.name, channel, exc_info=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user