aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server_select.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 6d98ccac..b9e72342 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -848,8 +848,7 @@ local add_task do
end
end
- addtimer(function()
- local current_time = luasocket_gettime();
+ addtimer(function(current_time)
if #new_data > 0 then
for _, d in pairs(new_data) do
table_insert(data, d);