summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.c b/update.c
index a470992..ed3547e 100644
--- a/update.c
+++ b/update.c
@@ -1500,7 +1500,7 @@ int cUpdate::refreshEpg(const char* forChannelId, int maxTries)
// get channel and schedule of channel
- if (channelId && channel = channels->GetByChannelID(channelId, true))
+ if (channel = channels->GetByChannelID(channelId, true))
s = (cSchedule*)schedules->GetSchedule(channel, true);
else
tell(0, "Error: Channel with ID '%s' don't exist on this VDR", mapDb->getStrValue("ChannelId"));