]> gitweb.fluxo.info Git - puppet-qwebirc.git/commitdiff
Fixing quotes for WEBIRC_MODE
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 9 May 2013 19:39:51 +0000 (16:39 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 9 May 2013 19:39:51 +0000 (16:39 -0300)
templates/config.py.erb

index 0feb9f20d64024546695857b72c8548065d9a35f..90c28a0d3444ffc1483cab62ecb2479dc3eb8917 100644 (file)
@@ -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