From b3b63a7e47016e63494ec36fa31a6ec70f600505 Mon Sep 17 00:00:00 2001 From: s3lph <account-gitlab-ideynizv@kernelpanic.lol> Date: Tue, 15 Dec 2020 23:27:40 +0100 Subject: [PATCH] Fix template error in oper blocks --- roles/inspircd/templates/etc/inspircd/inspircd.conf.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/inspircd/templates/etc/inspircd/inspircd.conf.2 b/roles/inspircd/templates/etc/inspircd/inspircd.conf.2 index d938645..d3faecf 100644 --- a/roles/inspircd/templates/etc/inspircd/inspircd.conf.2 +++ b/roles/inspircd/templates/etc/inspircd/inspircd.conf.2 @@ -142,8 +142,8 @@ password="{{ oper.password }}" type="{{ oper.type }}" {% if 'class' in oper %}class="{{ oper.class }}"{% endif %} - {% if 'hash' in oper %}hash="{{ hash.class }}"{% endif %} - {% if 'vhost' in oper %}vhost="{{ vhost.class }}"{% endif %}> + {% if 'hash' in oper %}hash="{{ oper.hash }}"{% endif %} + {% if 'vhost' in oper %}vhost="{{ oper.vhost }}"{% endif %}> {% endfor %}