summaryrefslogtreecommitdiff
path: root/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'timer.c')
-rw-r--r--timer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/timer.c b/timer.c
index 6f20e48..0301723 100644
--- a/timer.c
+++ b/timer.c
@@ -649,6 +649,9 @@ int cUpdate::updateTimerTable()
for (const cTimer* t = timers->First(); t; t = timers->Next(t))
{
+ if (!t->Local())
+ continue;
+
int timerid = getTimerIdOf(t);
// compare by timerid
@@ -709,6 +712,9 @@ int cUpdate::updateTimerTable()
int insert = yes;
int timerId = getTimerIdOf(t);
+ if (!t->Local())
+ continue;
+
// no timer id or not in table -> handle as insert!
timerDb->clear();