Software /
code /
prosody
Diff
net/server_select.lua @ 6381:9ffd582c65d8
net.server_select: 'listener'->'listeners' (fixes undefined global access)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 02 Sep 2014 17:23:44 +0100 |
parent | 6379:a280bd6ccce2 |
child | 6382:57d23c26039b |
child | 7094:e8f202856fc0 |
line wrap: on
line diff
--- a/net/server_select.lua Fri Aug 29 11:54:34 2014 +0100 +++ b/net/server_select.lua Tue Sep 02 17:23:44 2014 +0100 @@ -284,7 +284,7 @@ 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