if(safety_mode)
    safet_mode = 1
wouldnt that be
if 1 then set it to 1