aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 3b5291d6..288d20b2 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -587,7 +587,7 @@ local command_runner = async.runner(function ()
end
end
- if not commands[command] then
+ if command and not commands[command] then
local ok, command_module = pcall(require, "util.prosodyctl."..command);
if ok and command_module[command] then
commands[command] = command_module[command];