aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-05-05 17:12:32 +0100
committerMatthew Wild <mwild1@gmail.com>2010-05-05 17:12:32 +0100
commitc900263556354c36fdf3631886d43302d338d6f5 (patch)
tree46ca4ca7c92b8242609f68800e15fa3665b3a257 /net/server_select.lua
parentec60bf9e1b50e97162097027e852ce5d0db4bdf8 (diff)
downloadprosody-c900263556354c36fdf3631886d43302d338d6f5.tar.gz
prosody-c900263556354c36fdf3631886d43302d338d6f5.zip
net.server_select: Fix typo affecting connections with an onconnect listener that have data pending in the sendbuffer
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 68ac7091..e3a389a8 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -629,7 +629,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
listeners.onconnect(handler);
handler.sendbuffer = _sendbuffer;
if bufferqueuelen > 0 then
- return _senddbuffer();
+ return _sendbuffer();
end
end
end