aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl6
1 files changed, 3 insertions, 3 deletions
diff --git a/prosodyctl b/prosodyctl
index 0e733d07..c658921b 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -227,9 +227,9 @@ for hostname, config in pairs(config.getconfig()) do
hosts[hostname] = make_host(hostname);
end
-require "core.modulemanager"
+local modulemanager = require "core.modulemanager"
-require "util.prosodyctl"
+local prosodyctl = require "util.prosodyctl"
require "socket"
-----------------------
@@ -509,7 +509,7 @@ function commands.about(arg)
return 1;
end
- require "util.array";
+ local array = require "util.array";
local keys = require "util.iterators".keys;
print("Prosody "..(prosody.version or "(unknown version)"));