Patch level :10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :migliorato il riconoscimento del reseller AGA (da continuare)


git-svn-id: svn://10.65.10.50/trunk@18768 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2009-04-22 13:39:05 +00:00
parent f4028dbd31
commit 479d1123fb

View File

@ -764,7 +764,7 @@ bool TDongle::active(word module) const
if (module == EEAUT) if (module == EEAUT)
{ {
const TString& r = reseller(); const TString& r = reseller();
yes = r.find("AGA") >= 0; yes = r.starts_with("AGA ");
} }
else else
yes = (module < ENDAUT) && _module[module] && shown(module); yes = (module < ENDAUT) && _module[module] && shown(module);