aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-28 16:55:21 +0100
committerKim Alvefur <zash@zash.se>2018-10-28 16:55:21 +0100
commit193eebddaf36f0df296b70d858c97d66d5ad20bb (patch)
tree89dfde67936b7a1b242d87097c08638ea7a8fbb0 /net/server_select.lua
parentd67b08d9c48ac3bef4a495b7cd700b956c7e7c61 (diff)
downloadprosody-193eebddaf36f0df296b70d858c97d66d5ad20bb.tar.gz
prosody-193eebddaf36f0df296b70d858c97d66d5ad20bb.zip
net.server_select: Deprecate :lock method
Exists only in server_select and I found nothing using it
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index d74da130..e30ac8fe 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -483,6 +483,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
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