prosodyctl
changeset 10909 709255e332d8
parent 10875 e5dee71d0ebb
child 10968 d6a3d652ca32
--- a/prosodyctl	Thu Jun 04 17:24:30 2020 +0100
+++ b/prosodyctl	Thu Jun 04 17:26:18 2020 +0100
@@ -587,7 +587,7 @@
 		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];