aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
commit55e3a7a8aacae7cc401753da0f32947b0eab5d16 (patch)
tree89dfde67936b7a1b242d87097c08638ea7a8fbb0 /net
parent38ea739022f4adeca620b4c8bb736bacb60e1d06 (diff)
downloadprosody-55e3a7a8aacae7cc401753da0f32947b0eab5d16.tar.gz
prosody-55e3a7a8aacae7cc401753da0f32947b0eab5d16.zip
net.server_select: Deprecate :lock method
Exists only in server_select and I found nothing using it
Diffstat (limited to 'net')
-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