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
commitbd8cd6b9285b88eb7887ed7c1a1719f6eaf07bdb (patch)
tree5d282b4c7e20478690478f2cdd2a997c78898a97 /prosodyctl
parente1c84eecb8aa5133743f98c3be2cddd0da0fc26e (diff)
downloadprosody-bd8cd6b9285b88eb7887ed7c1a1719f6eaf07bdb.tar.gz
prosody-bd8cd6b9285b88eb7887ed7c1a1719f6eaf07bdb.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