func name change

This commit is contained in:
Jeff Carr 2025-02-07 04:41:04 -06:00
parent 08bf0f5703
commit b7368c92fd
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
log.Info("going to toggle flag:", flag)
switch flag {
case "ZOOD":
if ZOOD.Bool() {
if ZOOD.Enabled() {
log.Log(NOW, "toogle ZOOD false")
ZOOD.SetBool(false)
} else {