diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-03-16 10:39:16 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-03-16 10:39:16 +0100 |
commit | 66a2bf990697da74e1b6c6f334a12fc5298cee59 (patch) | |
tree | 162b5610af39d98131ea1168ab0a1a5fc9fdd7c6 /timers.c | |
parent | 9bd2b9901f1323ecef3ff54663d2c8f1bf639c18 (diff) | |
download | vdr-66a2bf990697da74e1b6c6f334a12fc5298cee59.tar.gz vdr-66a2bf990697da74e1b6c6f334a12fc5298cee59.tar.bz2 |
Fixed creating a new VPS timer with the SVDRP command NEWT1.7.41
Diffstat (limited to 'timers.c')
-rw-r--r-- | timers.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.c 2.16 2013/02/05 11:13:20 kls Exp $ + * $Id: timers.c 2.17 2013/03/16 10:37:10 kls Exp $ */ #include "timers.h" @@ -43,7 +43,7 @@ cTimer::cTimer(bool Instant, bool Pause, cChannel *Channel) weekdays = 0; start = now->tm_hour * 100 + now->tm_min; stop = 0; - if (!Setup.InstantRecordTime && channel) { + if (!Setup.InstantRecordTime && channel && (Instant || Pause)) { cSchedulesLock SchedulesLock; if (const cSchedules *Schedules = cSchedules::Schedules(SchedulesLock)) { if (const cSchedule *Schedule = Schedules->GetSchedule(channel)) { |