From 65134d6f0f5d95dfdc1832387c16c23b5e608864 Mon Sep 17 00:00:00 2001 From: Gregory A Lundberg Date: Thu, 1 Sep 2016 20:14:15 -0500 Subject: [PATCH] [role] always error on missing role= --- data/lua/wml-tags.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/data/lua/wml-tags.lua b/data/lua/wml-tags.lua index 4487be2fd11..1b82384cba0 100644 --- a/data/lua/wml-tags.lua +++ b/data/lua/wml-tags.lua @@ -904,11 +904,7 @@ function wml_actions.role(cfg) local filter = helper.shallow_literal(cfg) if role == nil then - if helper.get_child("auto_recall") ~= nil then - role = "" - else - helper.wml_error("missing role= in [role]") - end + helper.wml_error("missing role= in [role]") end local types = {}