Changes to handle the DNS exclusion list

This commit is contained in:
emanuele-f 2020-01-24 15:17:42 +01:00
parent eb5f79f935
commit 50ca1b455a
4 changed files with 21 additions and 8 deletions

View file

@ -402,6 +402,14 @@ local function init_user_script(user_script, mod_fname, full_path, plugin, scrip
if(user_script.template == nil) then
traceError(TRACE_WARNING, TRACE_CONSOLE, string.format("Unknown template '%s' for user script '%s'", user_script.gui.input_builder, mod_fname))
end
-- Possibly localize the input title/description
if user_script.gui.input_title then
user_script.gui.input_title = i18n(user_script.gui.input_title) or user_script.gui.input_title
end
if user_script.gui.input_description then
user_script.gui.input_description = i18n(user_script.gui.input_description) or user_script.gui.input_description
end
end
if(user_script.template == nil) then