mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-25 19:54:25 +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
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
world.services['pylink'].remove_persistent_channel(irc, 'relay', channel, try_part=False)
|
world.services['pylink'].remove_persistent_channel(irc, 'relay', channel)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
log.warning('(%s) relay: failed to remove persistent channel %r on delink', irc.name, channel, exc_info=True)
|
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