mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Fixing relaydisconnect not to call otherIrc.die, since that kills the callbacks.
This commit is contained in:
parent
d33e67989b
commit
b43acf0d5a
@ -93,7 +93,9 @@ class Relay(callbacks.Privmsg):
|
||||
network = privmsgs.getArgs(args)
|
||||
otherIrc = self.ircs[network]
|
||||
otherIrc.driver.die()
|
||||
otherIrc.die()
|
||||
del self.ircs[network]
|
||||
world.ircs.remove(otherIrc)
|
||||
del abbreviations[network]
|
||||
irc.reply(msg, conf.replySuccess)
|
||||
relaydisconnect = privmsgs.checkCapability(relaydisconnect, 'owner')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user