mirror of
https://github.com/CFC-Servers/cfc_cl_http_whitelist.git
synced 2025-03-04 03:03:18 -05:00
merge other config values
This commit is contained in:
parent
23e8989ee7
commit
d91edde8ac
@ -25,6 +25,7 @@ end
|
||||
|
||||
function CFCHTTP.mergeConfigs(old, new)
|
||||
if new.version == "1" then
|
||||
old.wrapHTMLPanels = new.wrapHTMLPanels
|
||||
for domain, options in pairs(new.addresses) do
|
||||
local currentOptions = old.addresses[domain]
|
||||
if currentOptions and currentOptions.permanent then
|
||||
|
Loading…
Reference in New Issue
Block a user