3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

networks: update help for 'disconnect'

The 'disconnect' command has been changed to disable autoconnect, but this text was never updated.
This commit is contained in:
James Lu 2016-12-09 21:51:57 -08:00
parent 01f2a4ca20
commit 34ad79744a

View File

@ -10,8 +10,8 @@ def disconnect(irc, source, args):
"""<network>
Disconnects the network <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]