aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-05-27 12:35:55 +0200
committerKim Alvefur <zash@zash.se>2021-05-27 12:35:55 +0200
commit13c5a2359d83818bfeae08b757c53fd34ed05ad8 (patch)
tree51ac3ac1646a3ea583c27218c742c87ed31f4dc5
parentmod_pep: Remove obsolete node restoration code (now done by util.pubsub) (diff)
downloadprosody-13c5a2359d83818bfeae08b757c53fd34ed05ad8.tar.xz
prosody-13c5a2359d83818bfeae08b757c53fd34ed05ad8.zip
prosodyctl: Add 'limits' to known globals to warn about misplacing it
It will do nothing in a VirtualHost section for example.
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 8c0ce66cf..f8c0bc68c 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();