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