From 13c5a2359d83818bfeae08b757c53fd34ed05ad8 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 27 May 2021 12:35:55 +0200 Subject: prosodyctl: Add 'limits' to known globals to warn about misplacing it It will do nothing in a VirtualHost section for example. --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosodyctl b/prosodyctl index 8c0ce66c..f8c0bc68 100755 --- a/prosodyctl +++ b/prosodyctl @@ -841,7 +841,7 @@ function commands.check(arg) local known_global_options = set.new({ "pidfile", "log", "plugin_paths", "prosody_user", "prosody_group", "daemonize", "umask", "prosodyctl_timeout", "use_ipv6", "use_libevent", "network_settings", - "network_backend", "http_default_host", "gc", + "network_backend", "http_default_host", "gc", "limits", "statistics_interval", "statistics", "statistics_config", }); local config = configmanager.getconfig(); -- cgit v1.2.3