mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 04:02:45 +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:
parent
e4b2ea60ec
commit
611b07e6bd
@ -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