mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +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) {
|
||||
if(ccI->second.getTransponderId() == tpid) {
|
||||
if(!(ccI->second.flags & CZapitChannel::NOT_FOUND) && (ccI->second.getTransponderId() == tpid)) {
|
||||
dI = curchans.find(ccI->second.getChannelID());
|
||||
if(dI == curchans.end())
|
||||
WriteCurrentService(fd, satfound, tpdone, updated, satstr, tI->second, ccI->second, "remove");
|
||||
|
Reference in New Issue
Block a user