summaryrefslogtreecommitdiff
path: root/timers.go
diff options
context:
space:
mode:
Diffstat (limited to 'timers.go')
-rw-r--r--timers.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/timers.go b/timers.go
index f1525b97c..231d34f14 100644
--- a/timers.go
+++ b/timers.go
@@ -31,6 +31,10 @@ func InitTimers() {
Duration: msg.TimerStartDuration,
Cleared: false,
}
+ // If this parameter is less than 10, a value of 10 is used
+ if t.Duration < 10 {
+ t.Duration = 10
+ }
t.StartTimer()
timers[id] = t
return nil