@internationalizeDocstring
    def disconnect(self, irc, msg, args, otherIrc, quitMsg):
        standard_msg = conf.supybot.plugins.Owner.quitMsg()
        if standard_msg:
            standard_msg = ircutils.standardSubstitute(irc, msg, standard_msg)
        quitMsg = quitMsg or standard_msg or msg.nick
        otherIrc.queueMsg(ircmsgs.quit(quitMsg))
        otherIrc.die()
        conf.supybot.networks().discard(otherIrc.network)
        if otherIrc != irc:
            irc.replySuccess(_('Disconnection to %s initiated.') %
                             otherIrc.network)
[<network>] [<quit message>]
dataset/ETHPy150Open ProgVal/Limnoria/plugins/Network/plugin.py/Network.disconnect