Migliorata descrizione e gestione SSA

git-svn-id: svn://10.65.10.50/branches/R_10_00@22703 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2012-07-12 15:21:18 +00:00
parent 72010b502b
commit 8572e8db24
2 changed files with 6 additions and 2 deletions

View File

@ -318,7 +318,11 @@ TInfo_mask::TInfo_mask() : TProperty_sheet(TR("Informazioni"))
case _dongle_network : prot = dongle().server_name(); break;
case _dongle_ssa : prot = "SSA";
if (fexist("ssa.ini"))
prot << '@' << ini_get_string("ssa.ini", "", "SSA-PORT");
{
const TString& host = ini_get_string("ssa.ini", "", "SSA-PORT");
if (host.full())
prot << '@' << host;
}
break;
default : prot = TR("Nessuna"); break;
}

View File

@ -376,7 +376,7 @@ bool TDongle::ssa_login(const char* mod)
{
if (mod && *mod)
{
return xvt_dongle_sa_login(mod) == 0;
return is_power_station() || xvt_dongle_sa_login(mod) == 0;
}
_max_users = 1;