# HG changeset patch # User Kim Alvefur # Date 1736593938 -3600 # Node ID c90aab23fb9b8237b63effbea0300149508e39b3 # Parent 6ba0489e4828d139377397552c043002c44e3687 mod_persisthosts: Also skip defined Components (thanks gtech1) Thought Components also had `defined=true`, but apparently not. diff -r 6ba0489e4828 -r c90aab23fb9b mod_persisthosts/mod_persisthosts.lua --- a/mod_persisthosts/mod_persisthosts.lua Fri Jan 10 23:17:09 2025 +0100 +++ b/mod_persisthosts/mod_persisthosts.lua Sat Jan 11 12:12:18 2025 +0100 @@ -11,7 +11,7 @@ local original = set.new(); for host, config in pairs(cm.getconfig()) do - if config["defined"] then + if config["defined"] or config["component_module"] then original:add(host); end end