diff --git a/plugins/Network.py b/plugins/Network.py index a7a360808..f786a3a3a 100644 --- a/plugins/Network.py +++ b/plugins/Network.py @@ -109,7 +109,8 @@ class Network(callbacks.Privmsg): otherIrc.queueMsg(ircmsgs.quit(quitMsg)) otherIrc.die() conf.supybot.networks().discard(otherIrc.network) - irc.replySuccess('Disconnection to %s initiated.' % otherIrc.network) + if otherIrc != irc: + irc.replySuccess('Disconnection to %s initiated.' % otherIrc.network) disconnect = wrap(disconnect, ['owner', 'networkIrc', additional('text')]) def reconnect(self, irc, msg, args, otherIrc, quitMsg):