mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 18:22:14 +00:00
Don't error on dupe configs in other files. (#73399)
It ruins my whole every server defaults -> per server overrides model for config management 🆑 config: Repeated configs in other files (from $include) will no longer trigger a config error. Repeated configs in the same file still will. config: In all cases the new value will still be used /🆑
This commit is contained in:
committed by
GitHub
parent
54328721bf
commit
faf96a9ad0
@@ -239,7 +239,7 @@
|
|||||||
log_config(log_message)
|
log_config(log_message)
|
||||||
stack_trace(log_message)
|
stack_trace(log_message)
|
||||||
else
|
else
|
||||||
if(E.modified && !E.dupes_allowed)
|
if(E.modified && !E.dupes_allowed && E.resident_file == filename)
|
||||||
log_config_error("Duplicate setting for [entry] ([value], [E.resident_file]) detected! Using latest.")
|
log_config_error("Duplicate setting for [entry] ([value], [E.resident_file]) detected! Using latest.")
|
||||||
|
|
||||||
E.resident_file = filename
|
E.resident_file = filename
|
||||||
|
|||||||
Reference in New Issue
Block a user