Diff

prosodyctl @ 6784:4da860edc27c

prosodyctl: Import LuaSocket to a local, don't assume that a global will be set
author Kim Alvefur <zash@zash.se>
date Fri, 13 Mar 2015 20:12:12 +0100
parent 6751:18f18bceb662
child 6837:13b44929ae49
line wrap: on
line diff
--- a/prosodyctl	Tue Mar 03 20:27:35 2015 +0100
+++ b/prosodyctl	Fri Mar 13 20:12:12 2015 +0100
@@ -244,7 +244,7 @@
 local modulemanager = require "core.modulemanager"
 
 local prosodyctl = require "util.prosodyctl"
-require "socket"
+local socket = require "socket"
 -----------------------
 
  -- FIXME: Duplicate code waiting for util.startup