I'm stupid

This commit is contained in:
suchmememanyskill authored and GitHub committed 2021-07-28 11:30:14 +02:00
1 parent c6ce5e87ba
commit 425f3e82b1
1 file changed
+1 -1
+1 -1
View File
@@ -457,7 +457,7 @@ ClassFunction(stdGetCwd){
} }
ClassFunction(stdPower){ ClassFunction(stdPower){
power_set_state(MIN(0, (getIntValue(args[0]) % POWER_OFF_REBOOT))); power_set_state(MAX(0, (getIntValue(args[0]) % POWER_OFF_REBOOT)));
return &emptyClass; return &emptyClass;
} }