Changeset

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
parents 6380:4220ffb87b22
children 6382:57d23c26039b 6386:f942cf2a9a03
files net/server_select.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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