Changeset

6808:f076dac78155

prosody: Set a luasocket global, fixes undefined global access in loop() (pending util.startup)
author Kim Alvefur <zash@zash.se>
date Wed, 02 Sep 2015 14:25:30 +0200
parents 6807:5e3242d349f2
children 6809:dd6b21862e3b
files prosody
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/prosody	Wed Sep 02 14:23:09 2015 +0200
+++ b/prosody	Wed Sep 02 14:25:30 2015 +0200
@@ -121,6 +121,7 @@
 
 function load_libraries()
 	-- Load socket framework
+	socket = require "socket";
 	server = require "net.server"
 end