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
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ 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)
disconnect = wrap(disconnect, ['owner', 'networkIrc', additional('text')])
def reconnect(self, irc, msg, args, otherIrc, quitMsg):