Changeset

9575:1fb3e7c550bf

net.server_event: Deprecate :lock_read here too
author Kim Alvefur <zash@zash.se>
date Sun, 28 Oct 2018 16:51:58 +0100
parents 9574:03214e6e3272
children 9576:913a17d6c449
files net/server_event.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_event.lua	Sun Oct 28 16:49:28 2018 +0100
+++ b/net/server_event.lua	Sun Oct 28 16:51:58 2018 +0100
@@ -253,6 +253,7 @@
 
 --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