# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1254668673 -3600
# Node ID 1fde15a415e641cba1f044080f80fbc2e0d99ea5
# Parent  6eaa440bc9fcd4d6d71eff91f8b980a66764c580
net.server: Pass current time to timer callbacks

diff -r 6eaa440bc9fc -r 1fde15a415e6 net/server.lua
--- a/net/server.lua	Sun Oct 04 16:03:53 2009 +0100
+++ b/net/server.lua	Sun Oct 04 16:04:33 2009 +0100
@@ -821,7 +821,7 @@
         _currenttime = os_time( )
         if os_difftime( _currenttime - _timer ) >= 1 then
             for i = 1, _timerlistlen do
-                _timerlist[ i ]( )    -- fire timers
+                _timerlist[ i ]( _currenttime )    -- fire timers
             end
             _timer = _currenttime
         end