aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-22 20:12:27 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-22 20:12:27 +0000
commit94e76383953dd2dfcbf40a2ff07bddac46fd8c71 (patch)
treeede0ad92680fcc3b664035be3378bb309639662a /net/server.lua
parent208dde8105928404941a6341ff7cdbedff6adb7c (diff)
downloadprosody-94e76383953dd2dfcbf40a2ff07bddac46fd8c71.tar.gz
prosody-94e76383953dd2dfcbf40a2ff07bddac46fd8c71.zip
All the people who don't use TLS, this one's for you.
Diffstat (limited to 'net/server.lua')
-rw-r--r--net/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server.lua b/net/server.lua
index 3ff777d5..40f37345 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -619,7 +619,7 @@ wraptcpclient = function( listener, socket, ip, serverport, clientport, mode )
return shutdown( socket, pattern )
end
handler.close = function( closed )
- if eol and not fatal_send_error then handler._dispatchdata(); end
+ if eol and not fatal_send_error then handler.dispatchdata(); end
_ = not closed and shutdown( socket )
_ = not closed and close( socket )
writelen = ( eol and removesocket( writelist, socket, writelen ) ) or writelen