aboutsummaryrefslogtreecommitdiffstats
path: root/main.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-25 01:55:01 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-25 01:55:01 +0000
commitbdb44039514c53f2e8466db48f6b08ed967f730b (patch)
tree3f91c76f1241fe76f024c6b9fa358e7b2cdd9acc /main.lua
parent009fe2e38b56bb63bc3bad84b2f43cd0ac123978 (diff)
downloadprosody-bdb44039514c53f2e8466db48f6b08ed967f730b.tar.gz
prosody-bdb44039514c53f2e8466db48f6b08ed967f730b.zip
SSL library is optional, not a fatal error
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index f67f3889..319c6565 100644
--- a/main.lua
+++ b/main.lua
@@ -3,7 +3,7 @@ pcall(require, "luarocks.require")
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");