diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-09 17:09:38 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-09 17:09:38 -0300 |
commit | 35a42e3aade44605cc9266d7912c784e7ace59f1 (patch) | |
tree | 084ee49f443d4299043811c28ff367e256ccea21 | |
parent | e4192c1f976009b77d7a4addd2dd87e0baf77c3f (diff) | |
download | puppet-qwebirc-35a42e3aade44605cc9266d7912c784e7ace59f1.tar.gz puppet-qwebirc-35a42e3aade44605cc9266d7912c784e7ace59f1.tar.bz2 |
Fix template for IDENT parameter
-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 e7396df..b8aa298 100644 --- a/templates/config.py.erb +++ b/templates/config.py.erb @@ -45,7 +45,11 @@ REALNAME = "<%= realname %>" # IDENT = IDENT_HEX # - the literal value IDENT_NICKNAME, this will use the users # supplied nickname as their ident. +<%- if ident == 'IDENT_HEX' or ident == 'IDENT_NICKNAME' -%> +IDENT = <%= ident %> +<%- else -%> IDENT = "<%= ident %>" +<%- end -%> # OPTION: OUTGOING_IP # The IP address to bind to when connecting to the IRC server. |