diff --git a/plugins/Network.py b/plugins/Network.py index f1b4c3357..bdc9548d0 100644 --- a/plugins/Network.py +++ b/plugins/Network.py @@ -105,7 +105,7 @@ class Network(callbacks.Privmsg): quitMsg = quitMsg or conf.supybot.plugins.Owner.quitMsg() or msg.nick otherIrc.queueMsg(ircmsgs.quit(quitMsg)) otherIrc.die() - conf.supybot.networks().discard(network) + conf.supybot.networks().discard(otherIrc.network) disconnect = wrap(disconnect, ['owner', 'networkIrc', additional('text')]) def reconnect(self, irc, msg, args, otherIrc, quitMsg):