diff options
| -rw-r--r-- | http.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { log.Info("going to toggle flag:", flag) switch flag { case "PING": - if PING.Bool() { + if PING.Enabled() { log.Log(NOW, "toogle PING false") PING.SetBool(false) } else { |
