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

servermaps: fix help for 'localmap'

This commit is contained in:
James Lu 2016-09-24 11:58:28 -07:00
parent 595bceda2e
commit 60b595ea6f

View File

@ -96,4 +96,11 @@ def _map(irc, source, args, show_relay=True):
usercount/len(serverlist)))
utils.add_cmd(_map, 'map')
utils.add_cmd(lambda irc, source, args: _map(irc, source, args, show_relay=False), 'localmap')
@utils.add_cmd
def localmap(irc, source, args):
"""[<network>]
Shows the network map for the given network, or the current network if not specified.
This command does not expand Relay subservers."""
_map(irc, source, args, show_relay=False)