Connect has a status reply, why not have one for disconnect

This commit is contained in:
James Vega 2004-12-30 18:07:33 +00:00
parent 69d98609fc
commit 58b4e09e83

View File

@ -109,6 +109,7 @@ class Network(callbacks.Privmsg):
otherIrc.queueMsg(ircmsgs.quit(quitMsg)) otherIrc.queueMsg(ircmsgs.quit(quitMsg))
otherIrc.die() otherIrc.die()
conf.supybot.networks().discard(otherIrc.network) conf.supybot.networks().discard(otherIrc.network)
irc.replySuccess('Disconnection to %s initiated.' % otherIrc.network)
disconnect = wrap(disconnect, ['owner', 'networkIrc', additional('text')]) disconnect = wrap(disconnect, ['owner', 'networkIrc', additional('text')])
def reconnect(self, irc, msg, args, otherIrc, quitMsg): def reconnect(self, irc, msg, args, otherIrc, quitMsg):