Changeset

9578:1ef33635f3f0

net.server_select: Deprecate :lock method Exists only in server_select and I found nothing using it
author Kim Alvefur <zash@zash.se>
date Sun, 28 Oct 2018 16:55:21 +0100
parents 9577:388b93b3eecf
children 9579:185eed6cbab0
files net/server_select.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_select.lua	Sun Oct 28 16:54:08 2018 +0100
+++ b/net/server_select.lua	Sun Oct 28 16:55:21 2018 +0100
@@ -483,6 +483,7 @@
 		return noread;
 	end
 	handler.lock = function( self, switch )
+		out_error( "server.lua, lock() is deprecated" )
 		handler.lock_read (self, switch)
 		if switch == true then
 			handler.write = idfalse