aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
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 /prosodyctl
parent0c6f17043f100150629d9b4c9c27a3489958f67c (diff)
downloadprosody-13c5a2359d83818bfeae08b757c53fd34ed05ad8.tar.gz
prosody-13c5a2359d83818bfeae08b757c53fd34ed05ad8.zip
prosodyctl: Add 'limits' to known globals to warn about misplacing it
It will do nothing in a VirtualHost section for example.
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
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();