diff options
Diffstat (limited to 'net/server_event.lua')
-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 e79a57d0..a45b12db 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -704,7 +704,7 @@ local addserver = ( function( ) debug "fatal error: luasec not found" return nil, "luasec not found" end - sslctx, err = ssl.newcontext( sslcfg ) + sslctx, err = sslcfg if err then debug( "error while creating new ssl context for server socket:", err ) return nil, err |