Diff

init.lua @ 361:451dbad2a8e6

verse: Import LuaSocket properly (especially for 5.2)
author Kim Alvefur <zash@zash.se>
date Tue, 23 Sep 2014 22:15:13 +0200
parent 331:d23bb21668a7
child 368:154c2f04d73b
line wrap: on
line diff
--- a/init.lua	Thu Sep 18 22:00:58 2014 +0200
+++ b/init.lua	Tue Sep 23 22:15:13 2014 +0200
@@ -3,7 +3,7 @@
 pcall(require, "luarocks.require");
 
 -- Load LuaSec if available
-pcall(require, "ssl");
+local socket = require"socket";
 
 local server = require "net.server";
 local events = require "util.events";