aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-03-13 20:12:12 +0100
committerKim Alvefur <zash@zash.se>2015-03-13 20:12:12 +0100
commit7efc09e181fe1788cdd0468b9de26a0f2c5f62c6 (patch)
tree5d282b4c7e20478690478f2cdd2a997c78898a97 /prosodyctl
parentd2819c177501fc03d12d3149a73ad5a6f331efe2 (diff)
downloadprosody-7efc09e181fe1788cdd0468b9de26a0f2c5f62c6.tar.gz
prosody-7efc09e181fe1788cdd0468b9de26a0f2c5f62c6.zip
prosodyctl: Import LuaSocket to a local, don't assume that a global will be set
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index a67f3dbd..0a4491bf 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -244,7 +244,7 @@ end
local modulemanager = require "core.modulemanager"
local prosodyctl = require "util.prosodyctl"
-require "socket"
+local socket = require "socket"
-----------------------
-- FIXME: Duplicate code waiting for util.startup