yweb: remove delivery_system from boxtype tank

and avoid duplicate code


Origin commit data
------------------
Commit: 99b477207f
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-09-20 (Fri, 20 Sep 2013)

Origin message was:
------------------
- yweb: remove delivery_system from boxtype tank

 and avoid duplicate code
This commit is contained in:
vanhofen
2013-09-20 13:36:42 +02:00
parent 0b88f68051
commit 93b0807ac0
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;
}
//-------------------------------------------------------------------------