diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-28 16:51:58 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-28 16:51:58 +0100 |
commit | ef4bb01f0da61e8512c0c6f9dffb2c1822f42c05 (patch) | |
tree | f6dc5c9086da02cce142f3efdadd619488194ae0 /net | |
parent | 3391b3c8909285808e4c0760a991049b384ecf4a (diff) | |
download | prosody-ef4bb01f0da61e8512c0c6f9dffb2c1822f42c05.tar.gz prosody-ef4bb01f0da61e8512c0c6f9dffb2c1822f42c05.zip |
net.server_event: Deprecate :lock_read here too
Diffstat (limited to 'net')
-rw-r--r-- | net/server_event.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 11bd6a29..ca80c3f2 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -253,6 +253,7 @@ end --TODO: Deprecate function interface_mt:lock_read(switch) + log("warn", ":lock_read is deprecated, use :pasue() and :resume()"); if switch then return self:pause(); else |