author | Matthew Wild <mwild1@gmail.com> |
Thu, 04 Jun 2020 17:26:18 +0100 | |
changeset 10909 | 709255e332d8 |
parent 10908 | d009a79f723a |
child 10910 | a1fed82c44b9 |
prosodyctl | file | annotate | diff | comparison | revisions |
--- 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];