summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/config.py.erb4
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