diff --git a/src/timer.cc b/src/timer.cc index f641bf8097..941decf82b 100644 --- a/src/timer.cc +++ b/src/timer.cc @@ -49,9 +49,9 @@ Timer::RepeatSetter (Local property, Local value, const AccessorI Timer *timer = NODE_UNWRAP(Timer, info.This()); assert(timer); - assert (property == REPEAT_SYMBOL); + assert(property == REPEAT_SYMBOL); - timer->watcher_.repeat = (double)(property->IntegerValue()) / 1000; + timer->watcher_.repeat = (double)(value->IntegerValue()) / 1000; } void