Software / code / prosody
Diff
core/configmanager.lua @ 13842:31fa834108bc
Merge 13.0->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 10 Apr 2025 11:33:47 +0100 |
| parent | 13840:1b4f2d010141 |
line wrap: on
line diff
--- a/core/configmanager.lua Thu Apr 10 00:23:22 2025 +0200 +++ b/core/configmanager.lua Thu Apr 10 11:33:47 2025 +0100 @@ -227,7 +227,17 @@ host = env.__currenthost or "*"; option_name = k; }, config_option_proxy_mt); + elseif val == nil then + t_insert( + warnings, + ("%s: %d: unrecognized value: %s (you may be missing quotes around it)"):format( + config_file, + get_line_number(config_file), + k + ) + ); end + return val; end