Diff

net/server_event.lua @ 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
parent 9499:36e379f058c8
child 9581:1be99aedb0b3
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