- yweb: remove delivery_system from boxtype tank

and avoid duplicate code
This commit is contained in:
svenhoefer
2013-09-20 13:36:42 +02:00
parent c7b03680b4
commit 99b477207f
4 changed files with 9 additions and 49 deletions

View File

@@ -729,7 +729,8 @@ std::string CNeutrinoYParser::func_get_boxtype(CyhookHandler *, std::string)
break;
}
boxname += (g_info.delivery_system == DVB_S || (system_rev == 1)) ? " SAT":" CABLE";
if (system_rev != 9) // don't add delivery_system for Tank
boxname += (g_info.delivery_system == DVB_S || (system_rev == 1)) ? " SAT":" CABLE";
return boxname;
}
//-------------------------------------------------------------------------