summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-07 04:40:52 -0600
committerJeff Carr <[email protected]>2025-02-07 04:40:52 -0600
commit55a3ed7187140e360e5a0e525f9a577dcb4579b2 (patch)
treeaa175c8901f191dc0730885cda6bebe85a43ce9c /http.go
parent4dd0f0eaba47eb14e661683b09ed90c25bed61f6 (diff)
func name changev0.2.30
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 6241d7e..8249d52 100644
--- a/http.go
+++ b/http.go
@@ -105,7 +105,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
// toggle poll logging
if route == "/poll" {
- if POLL.Get() {
+ if POLL.Enabled() {
log.Info("POLL is true")
POLL.SetBool(false)
} else {