Diff

main.lua @ 406:11f176cae9da

SSL library is optional, not a fatal error
author Matthew Wild <mwild1@gmail.com>
date Tue, 25 Nov 2008 01:55:01 +0000
parent 383:32b586d9e915
child 408:eb1a0960cefb
line wrap: on
line diff
--- a/main.lua	Sun Nov 23 22:56:07 2008 +0100
+++ b/main.lua	Tue Nov 25 01:55:01 2008 +0000
@@ -3,7 +3,7 @@
 local server = require "net.server"
 require "lxp"
 require "socket"
-require "ssl"
+pcall(require,"ssl") -- Optional
 local config = require "core.configmanager"
 
 log = require "util.logger".init("general");