mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 22:57:38 +03:00
net.server: Fix potential fatal error in server.lua
This commit is contained in:
parent
3fc972b6c2
commit
af27b13805
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
|
|||
out_put( "server.lua: client ", ip, ":", clientport, " error: ", err )
|
||||
fatalerror = true
|
||||
disconnect( handler, err )
|
||||
handler.close( )
|
||||
_ = handler and handler.close( )
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue