diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/server_event.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index a45b12db..978341ad 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -745,7 +745,7 @@ do debug "need luasec, but not available" return nil, "luasec not found" end - sslctx, err = ssl.newcontext( sslcfg ) + sslctx, err = sslcfg if err then debug( "cannot create new ssl context:", err ) return nil, err |