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 | eff5acbce1361ea628ac44fe8cb980ed876c6661 (patch) | |
tree | f6dc5c9086da02cce142f3efdadd619488194ae0 | |
parent | 7abfe39cc3a0949c8bde868dd3811bf33149897d (diff) | |
download | prosody-eff5acbce1361ea628ac44fe8cb980ed876c6661.tar.gz prosody-eff5acbce1361ea628ac44fe8cb980ed876c6661.zip |
net.server_event: Deprecate :lock_read here too
-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 |