3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-26 04:32:51 +01:00

networks: update help for 'disconnect'

The 'disconnect' command has been changed to disable autoconnect, but this text was never updated.

(cherry picked from commit 34ad79744a)
This commit is contained in:
James Lu 2016-12-09 21:51:57 -08:00
parent e4b2ea60ec
commit 611b07e6bd

View File

@ -10,8 +10,8 @@ def disconnect(irc, source, args):
"""<network> """<network>
Disconnects the network <network>. When all networks are disconnected, PyLink will automatically exit. 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: try:
netname = args[0] netname = args[0]
network = world.networkobjects[netname] network = world.networkobjects[netname]