diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-05-05 17:12:32 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-05-05 17:12:32 +0100 |
commit | c900263556354c36fdf3631886d43302d338d6f5 (patch) | |
tree | 46ca4ca7c92b8242609f68800e15fa3665b3a257 /net/server_select.lua | |
parent | ec60bf9e1b50e97162097027e852ce5d0db4bdf8 (diff) | |
download | prosody-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.lua | 2 |
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 |