Changeset

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
parents 405:62706c4e04cf
children 407:7ae008771391
files main.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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");