Comparison

init.lua @ 368:154c2f04d73b

init: Restore loading of LuaSec (must be loaded before net.server) (thanks 桜)
author Kim Alvefur <zash@zash.se>
date Sun, 16 Nov 2014 19:33:18 +0100
parent 361:451dbad2a8e6
child 369:074c547fe05a
child 382:479b856a910f
comparison
equal deleted inserted replaced
367:8e9f44ecb95b 368:154c2f04d73b
1 1
2 -- Use LuaRocks if available 2 -- Use LuaRocks if available
3 pcall(require, "luarocks.require"); 3 pcall(require, "luarocks.require");
4 4
5 local socket = require"socket";
6
5 -- Load LuaSec if available 7 -- Load LuaSec if available
6 local socket = require"socket"; 8 pcall(require, "ssl");
7 9
8 local server = require "net.server"; 10 local server = require "net.server";
9 local events = require "util.events"; 11 local events = require "util.events";
10 local logger = require "util.logger"; 12 local logger = require "util.logger";
11 13