diff options
author | Matthew Wild <mwild1@gmail.com> | 2014-09-02 17:23:44 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2014-09-02 17:23:44 +0100 |
commit | 6bceea0b5cc310d948a0571b9a0bb3216cb2763f (patch) | |
tree | 379f02441feaf82e1d573d9c55bd7781d1ecbfe0 | |
parent | 137a86280935c8ee19c44d0a1a1bf9ed50df4323 (diff) | |
download | prosody-6bceea0b5cc310d948a0571b9a0bb3216cb2763f.tar.gz prosody-6bceea0b5cc310d948a0571b9a0bb3216cb2763f.zip |
net.server_select: 'listener'->'listeners' (fixes undefined global access)
-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 2b23b4f0..7ac41523 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -284,7 +284,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport local status = listeners.onstatus local disconnect = listeners.ondisconnect local drain = listeners.ondrain - local detach = listener.ondetach + local detach = listeners.ondetach local bufferqueue = { } -- buffer array local bufferqueuelen = 0 -- end of buffer array |