aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-02 14:25:30 +0200
committerKim Alvefur <zash@zash.se>2015-09-02 14:25:30 +0200
commit73f4e79b479c7fca77481f0dde4cf230db3ea6a6 (patch)
tree544dfb450e7b1e18bd04847170a86879ce17ea25 /prosody
parent5a902a1ad7f35da9a461eb2d0cc5bb67e2df0358 (diff)
downloadprosody-73f4e79b479c7fca77481f0dde4cf230db3ea6a6.tar.gz
prosody-73f4e79b479c7fca77481f0dde4cf230db3ea6a6.zip
prosody: Set a luasocket global, fixes undefined global access in loop() (pending util.startup)
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody1
1 files changed, 1 insertions, 0 deletions
diff --git a/prosody b/prosody
index e6a23d8e..61be6c2e 100755
--- a/prosody
+++ b/prosody
@@ -121,6 +121,7 @@ end
function load_libraries()
-- Load socket framework
+ socket = require "socket";
server = require "net.server"
end