aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl4
1 files changed, 4 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 337b3593..55d71cf6 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -51,6 +51,10 @@ if _VERSION < "Lua 5.2" then
return os.exit(1);
end
+if not pcall(require, "prosody.loader") then
+ pcall(require, "loader");
+end
+
local startup = require "util.startup";
startup.prosodyctl();