func name change

This commit is contained in:
Jeff Carr 2025-02-07 04:41:14 -06:00
parent 66dc8d1f61
commit f6b9e6d86a
1 changed files with 1 additions and 1 deletions

View File

@ -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 {