There is nothing you can do to alleviate the effects of (presumably) gro lights being left on for a 24 hour period. It's not likely to have a particularly dramatic effect on a short day facultative plant, other than to possibly delay flowering - it may mean the plant has to go through an extra period of darkness at nights for a longer time, in other words, the process of flower induction may need to start all over again. Or, as it was just one night, you might get away with it and they'll flower when you expected them to. The biggest interruption in the flowering process of a short day plant is a few minutes light in the middle of a period of darkness over successive nights, but either way, it's not possible to offset that 24 hour period of light in any way. I'm afraid you'll just have to wait and see, but in the meantime, maintain the growing routine with regard to lighting.