mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-23 19:19:31 +01:00
networks: explicitly log successful network disconnects
This commit is contained in:
parent
61db5d616d
commit
561319bc57
@ -27,6 +27,7 @@ def disconnect(irc, source, args):
|
||||
irc.error('No such network "%s" (case sensitive).' % netname)
|
||||
return
|
||||
irc.reply("Done. If you want to reconnect this network, use the 'rehash' command.")
|
||||
log.info('Disconnecting network %r per %s', netname, irc.get_hostmask(source))
|
||||
|
||||
control.remove_network(network)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user