Skip to content
Snippets Groups Projects
Commit 2e52a6a8 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

make sure we have a default value for `metabot-enabled`

parent 5301ebe7
No related branches found
No related tags found
No related merge requests found
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
This will spin up a background thread that opens and maintains a Slack WebSocket connection." This will spin up a background thread that opens and maintains a Slack WebSocket connection."
[] []
(when (and (setting/get :slack-token) (when (and (setting/get :slack-token)
(= "true" (setting/get :metabot-enabled))) (= "true" (metabot-enabled)))
(log/info "Starting MetaBot WebSocket monitor thread...") (log/info "Starting MetaBot WebSocket monitor thread...")
(start-websocket-monitor!))) (start-websocket-monitor!)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment