mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-23 19:19:31 +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:
parent
01f2a4ca20
commit
34ad79744a
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user