Mercurial > prosody-hg
diff core/moduleapi.lua @ 14102:a124e80d3498
Merge 13.0->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 11 Mar 2026 16:59:10 +0100 |
| parents | cf21d285385b 3e6bb6ffbd43 |
| children | 5aacae4b2ccf |
line wrap: on
line diff
--- a/core/moduleapi.lua Sun Mar 08 19:30:54 2026 +0300 +++ b/core/moduleapi.lua Wed Mar 11 16:59:10 2026 +0100 @@ -407,6 +407,7 @@ local options = set.new{default, ...}; if not options:contains(value) then self:log("error", "Config option '%s' not in set of allowed values (one of: %s)", name, options); + return default; end return value; end
