mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
getservices.cpp dont add to remove not existing channel
This commit is contained in:
@@ -1081,7 +1081,7 @@ bool CServiceManager::SaveCurrentServices(transponder_id_t tpid)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (ccI = allchans.begin(); ccI != allchans.end(); ++ccI) {
|
for (ccI = allchans.begin(); ccI != allchans.end(); ++ccI) {
|
||||||
if(ccI->second.getTransponderId() == tpid) {
|
if(!(ccI->second.flags & CZapitChannel::NOT_FOUND) && (ccI->second.getTransponderId() == tpid)) {
|
||||||
dI = curchans.find(ccI->second.getChannelID());
|
dI = curchans.find(ccI->second.getChannelID());
|
||||||
if(dI == curchans.end())
|
if(dI == curchans.end())
|
||||||
WriteCurrentService(fd, satfound, tpdone, updated, satstr, tI->second, ccI->second, "remove");
|
WriteCurrentService(fd, satfound, tpdone, updated, satstr, tI->second, ccI->second, "remove");
|
||||||
|
Reference in New Issue
Block a user