View Full Version : slimserver power pref

2005-08-22, 15:22
ok, this might be inconsequential, but since it initially struck me as odd, I
thought I'd ask. This is probably most applicable to Fred and Dean.

Control::Command::execute(), line 775 for the 'power' toggle command uses this:


When the power is on, this results in the pref being set as ''.
However, when specific power_off is executed, it is setting to 0.

Is there a reason for this, or should it just be
$client->power($client->power() ? 0 : 1);
for the sake of consistency?


2005-08-24, 15:24
Your version is better. I'll change it.