summaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.js b/bot.js
index ae1d4c6..13ca105 100644
--- a/bot.js
+++ b/bot.js
@@ -2,7 +2,7 @@
/* jshint esnext:true */
"use strict";
-const PREVIEW = process.env.PREVIEW || true;
+const PREVIEW = process.env.PREVIEW != "false";
const sqlite = require("sqlite"),
path = require("path"),