Software /
code /
verse
Comparison
init.lua @ 64:a28540d4117a
verse: Load LuaSec if possible
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 11 May 2010 23:09:37 +0100 |
parent | 60:1f47ddab3499 |
child | 94:b40465267fb5 |
comparison
equal
deleted
inserted
replaced
63:311e61176159 | 64:a28540d4117a |
---|---|
1 | 1 |
2 -- Use LuaRocks if available | 2 -- Use LuaRocks if available |
3 pcall(require, "luarocks.require"); | 3 pcall(require, "luarocks.require"); |
4 | |
5 -- Load LuaSec if available | |
6 pcall(require, "ssl"); | |
4 | 7 |
5 local server = require "net.server"; | 8 local server = require "net.server"; |
6 local events = require "util.events"; | 9 local events = require "util.events"; |
7 | 10 |
8 module("verse", package.seeall); | 11 module("verse", package.seeall); |