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 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.