summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'http.go')
-rw-r--r--http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.go b/http.go
index d3f8f31..34b2d35 100644
--- a/http.go
+++ b/http.go
@@ -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 {