From ebb38d8f08b5565853cefb2c3dd8a57339a83810 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 9 May 2013 16:39:51 -0300 Subject: Fixing quotes for WEBIRC_MODE --- templates/config.py.erb | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3