diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-12-17 16:53:28 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-12-17 16:53:28 +0000 |
commit | b0055aa7b5f15e22bf9cd340f5f923eaa23a1d9f (patch) | |
tree | bfa37e4540540c10f58ad67a557406f5216b0fa5 /net/server_event.lua | |
parent | d7d5b34c60d61ece453b2e0dcb858e8460423ecd (diff) | |
download | prosody-b0055aa7b5f15e22bf9cd340f5f923eaa23a1d9f.tar.gz prosody-b0055aa7b5f15e22bf9cd340f5f923eaa23a1d9f.zip |
net.server_event: Load ssl/socket libraries if not already available
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 8fa59c75..bcdd6ad1 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -44,8 +44,8 @@ local tostring = use "tostring" local coroutine = use "coroutine" local setmetatable = use "setmetatable" -local ssl = use "ssl" -local socket = use "socket" +local ssl = use "ssl" or require "ssl" +local socket = use "socket" or require "socket" local log = require ("util.logger").init("socket") |