mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Connect has a status reply, why not have one for disconnect
This commit is contained in:
parent
69d98609fc
commit
58b4e09e83
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user