Changeset

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
parents 6783:cd44427c7295
children 6785:bf1f09a5bcf7
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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