diff --git a/plugins/servermaps.py b/plugins/servermaps.py index 85f869d..85e448e 100644 --- a/plugins/servermaps.py +++ b/plugins/servermaps.py @@ -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): + """[] + + 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)