diff --git a/octoserve/var/www/systemsettings.lua b/octoserve/var/www/systemsettings.lua index e7f157a..7f1b851 100644 --- a/octoserve/var/www/systemsettings.lua +++ b/octoserve/var/www/systemsettings.lua @@ -87,7 +87,7 @@ function GetMSMode() if tmp then msmode = tmp:read("*l") tmp:close() - elseif ReadSetting('noswitch') then + elseif ReadSetting('noswitch') == "true" then msmode = "none" end return msmode