From 35a42e3aade44605cc9266d7912c784e7ace59f1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 9 May 2013 17:09:38 -0300 Subject: Fix template for IDENT parameter --- templates/config.py.erb | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit v1.2.3