config.docker.lua: Require RIDDIM_DEBUG=1 to enable debug mode

Thu, 22 Oct 2020 15:37:43 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 22 Oct 2020 15:37:43 +0100
changeset 161
c4df517edbc1
parent 160
eb5a04a9877a
child 162
dcb103aca564

config.docker.lua: Require RIDDIM_DEBUG=1 to enable debug mode

config.docker.lua file | annotate | diff | comparison | revisions
--- a/config.docker.lua	Fri Oct 02 17:02:37 2020 +0200
+++ b/config.docker.lua	Thu Oct 22 15:37:43 2020 +0100
@@ -14,7 +14,7 @@
 nick = os.getenv "RIDDIM_NICK" or "riddim"
 autojoin = split(os.getenv "RIDDIM_ROOMS")
 plugins = split(os.getenv "RIDDIM_PLUGINS" or "groupchat, commands")
-debug = os.getenv "RIDDIM_DEBUG" or true
+debug = (os.getenv "RIDDIM_DEBUG" == "1") and true
 connect_port = os.getenv "RIDDIM_CONNECT_PORT" or nil
 connect_host = os.getenv "RIDDIM_CONNECT_HOST" or nil
 command_prefix = os.getenv "RIDDIM_COMMAND_PREFIX" or "-"

mercurial