Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
6783:cd44427c7295 | 6784:4da860edc27c |
---|---|
242 end | 242 end |
243 | 243 |
244 local modulemanager = require "core.modulemanager" | 244 local modulemanager = require "core.modulemanager" |
245 | 245 |
246 local prosodyctl = require "util.prosodyctl" | 246 local prosodyctl = require "util.prosodyctl" |
247 require "socket" | 247 local socket = require "socket" |
248 ----------------------- | 248 ----------------------- |
249 | 249 |
250 -- FIXME: Duplicate code waiting for util.startup | 250 -- FIXME: Duplicate code waiting for util.startup |
251 function read_version() | 251 function read_version() |
252 -- Try to determine version | 252 -- Try to determine version |