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:
parent
72010b502b
commit
8572e8db24
@ -318,7 +318,11 @@ TInfo_mask::TInfo_mask() : TProperty_sheet(TR("Informazioni"))
|
|||||||
case _dongle_network : prot = dongle().server_name(); break;
|
case _dongle_network : prot = dongle().server_name(); break;
|
||||||
case _dongle_ssa : prot = "SSA";
|
case _dongle_ssa : prot = "SSA";
|
||||||
if (fexist("ssa.ini"))
|
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;
|
break;
|
||||||
default : prot = TR("Nessuna"); break;
|
default : prot = TR("Nessuna"); break;
|
||||||
}
|
}
|
||||||
|
@ -376,7 +376,7 @@ bool TDongle::ssa_login(const char* mod)
|
|||||||
{
|
{
|
||||||
if (mod && *mod)
|
if (mod && *mod)
|
||||||
{
|
{
|
||||||
return xvt_dongle_sa_login(mod) == 0;
|
return is_power_station() || xvt_dongle_sa_login(mod) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
_max_users = 1;
|
_max_users = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user