3
0
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:
James Lu 2018-05-05 13:15:17 -07:00
parent 2532042506
commit 61d7bf18d3

View File

@ -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)