diff --git a/ba/ba0101.cpp b/ba/ba0101.cpp index d0d2aa185..2b7f5aa98 100755 --- a/ba/ba0101.cpp +++ b/ba/ba0101.cpp @@ -760,8 +760,18 @@ TMenu::~TMenu() bool is_tassan() { - bool yes = false; - if (!is_power_station() || dongle().number() > 0) + bool yes = dongle().number() > 0; + if (!yes && !is_power_station()) + { + TString80 name; + xvt_sys_get_user_name(name.get_buffer(), name.size()); + if (name.compare("TASSAN", -1, true) == 0) + yes = true; + xvt_sys_get_host_name(name.get_buffer(), name.size()); + if (name.compare("TASSAN", -1, true) == 0) + yes = true; + } + if (yes) { const TDate morti(2, 11, 2008); // Giorno della morte del programma const TDate oggi(TODAY);