aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index e2be448c..53a67dd5 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -123,7 +123,7 @@ local function runtimers(next_delay, min_wait)
if readd then
for _, timer in pairs(readd) do
- timers:insert(timer, timer[2]);
+ timers:insert(timer, timer[1]);
end
peek = timers:peek();
end