diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-12 14:34:02 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-12 14:34:02 +0100 |
commit | 04263369c807c434ebc9094723589098145beae5 (patch) | |
tree | b071d22ef627c46abc6913c56cf44d9c11259a46 /net | |
parent | 79d0189710c993f48da7c5e70fb65d3b4c4161d7 (diff) | |
parent | 4273b66a6ca55288d83f66203d51a2287eea16aa (diff) | |
download | prosody-04263369c807c434ebc9094723589098145beae5.tar.gz prosody-04263369c807c434ebc9094723589098145beae5.zip |
Merge with 0.5
Diffstat (limited to 'net')
-rw-r--r-- | net/server.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server.lua b/net/server.lua index ca6e6380..9418d388 100644 --- a/net/server.lua +++ b/net/server.lua @@ -530,7 +530,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport end
end
disconnect( handler, "ssl handshake failed" )
- handler.close( true ) -- forced disconnect
+ _ = handler and handler.close( true ) -- forced disconnect
return false -- handshake failed
end
)
|