From 561319bc57b70de26c3d55a00ee41712b50b7077 Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 12 Jul 2017 22:12:55 -0700 Subject: [PATCH] networks: explicitly log successful network disconnects --- plugins/networks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/networks.py b/plugins/networks.py index 6700be6..1346ef7 100644 --- a/plugins/networks.py +++ b/plugins/networks.py @@ -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)