init: Default to 2s timer

This commit is contained in:
Adrian C. (anrxc) 2009-09-19 17:31:52 +02:00
parent bc3cf45da0
commit 68b30a3cc7
1 changed files with 2 additions and 2 deletions

View File

@ -102,9 +102,9 @@ function register(widget, wtype, format, timer, warg)
update(widget, reg)
end
-- Default to 1s timer
-- Default to 2s timer
if reg.timer == nil then
reg.timer = 1
reg.timer = 2
end
-- Register a reg object