Fixing relaydisconnect not to call otherIrc.die, since that kills the callbacks.

This commit is contained in:
Jeremy Fincher 2003-03-28 01:36:00 +00:00
parent d33e67989b
commit b43acf0d5a

View File

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