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
commit2331a3d4b492787ba28598e8f972499c2c6a7637 (patch)
tree544dfb450e7b1e18bd04847170a86879ce17ea25 /prosody
parent26a19efb5f3910e16d08523b25c6967ab80415d0 (diff)
downloadprosody-2331a3d4b492787ba28598e8f972499c2c6a7637.tar.gz
prosody-2331a3d4b492787ba28598e8f972499c2c6a7637.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