diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-09 16:39:51 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-09 16:39:51 -0300 |
commit | ebb38d8f08b5565853cefb2c3dd8a57339a83810 (patch) | |
tree | d0a4dd9af7627b0a0735337e1064b8ccb5c41ce7 | |
parent | 2b4e5bed7c9d85c0f65733be6ef6dc799a8d1261 (diff) | |
download | puppet-qwebirc-ebb38d8f08b5565853cefb2c3dd8a57339a83810.tar.gz puppet-qwebirc-ebb38d8f08b5565853cefb2c3dd8a57339a83810.tar.bz2 |
Fixing quotes for WEBIRC_MODE
-rw-r--r-- | templates/config.py.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/config.py.erb b/templates/config.py.erb index 0feb9f2..90c28a0 100644 --- a/templates/config.py.erb +++ b/templates/config.py.erb @@ -80,7 +80,11 @@ IDENT = "webchat" # - the literal value None, i.e. WEBIRC_MODE = None # Send the IP and hostname in the realname field, overrides # the REALNAME option. +<%- if webirc_mode == 'None' -%> WEBIRC_MODE = <%= webirc_mode %> +<%- else -%> +WEBIRC_MODE = "<%= webirc_mode %>" +<%- end -%> # OPTION: WEBIRC_PASSWORD # Used for WEBIRC_MODE webirc and cgiirc, see WEBIRC_MODE |