diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/configmanager.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua index 6c6b670b..fc475b6b 100644 --- a/core/configmanager.lua +++ b/core/configmanager.lua @@ -227,7 +227,17 @@ do 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 |