From 611b07e6bd2cc2e131940c85bdbc403e2b0d9f23 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 9 Dec 2016 21:51:57 -0800 Subject: [PATCH] networks: update help for 'disconnect' The 'disconnect' command has been changed to disable autoconnect, but this text was never updated. (cherry picked from commit 34ad79744a816e5ac6bf41963954f1e83c352274) --- plugins/networks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/networks.py b/plugins/networks.py index b9b6d9a..919e08b 100644 --- a/plugins/networks.py +++ b/plugins/networks.py @@ -10,8 +10,8 @@ def disconnect(irc, source, args): """ Disconnects the network . When all networks are disconnected, PyLink will automatically exit. - Note: This does not affect the autoreconnect settings of any network, so the network will likely just reconnect unless autoconnect is disabled (see the 'autoconnect' command).""" - irc.checkAuthenticated(source, allowOper=False) + + To reconnect a network disconnected using this command, use REHASH to reload the networks list.""" try: netname = args[0] network = world.networkobjects[netname]