Software /
code /
prosody
Changeset
2367:22dc9005360f
net.server_event: Load ssl/socket libraries if not already available
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 17 Dec 2009 16:53:28 +0000 |
parents | 2366:c3a364342cb4 |
children | 2368:4726cd9a6318 |
files | net/server_event.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_event.lua Thu Dec 17 16:52:39 2009 +0000 +++ b/net/server_event.lua Thu Dec 17 16:53:28 2009 +0000 @@ -44,8 +44,8 @@ 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")