diff options
-rwxr-xr-x | prosody | 4 | ||||
-rwxr-xr-x | prosodyctl | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -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"; local async = require "util.async"; @@ -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(); |