From 1749c7a3650e3ef4e0b1668bd9558c4ec5ae452b Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 26 Mar 2014 14:37:30 -0400 Subject: [PATCH] Use socket.sleep(sec) instead of socket.select(nil, nil, sec) --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 283dbb8..c54a1bc 100644 --- a/init.lua +++ b/init.lua @@ -143,7 +143,7 @@ function meta_preconnect:connect(_host, _port) repeat self:think() - socket.select(nil, nil, 0.1) -- Sleep so that we don't eat CPU + socket.sleep(0.1) until self.authed end