Mercurial > prosody-modules
diff mod_sasl2_fast/mod_sasl2_fast.lua @ 6453:5364bdaa404d
mod_sasl2_fast/mod_sasl2_fast.lua: fix luacheck warning too long line
| author | Menel <menel@snikket.de> |
|---|---|
| date | Fri, 13 Mar 2026 07:54:36 +0100 |
| parents | f77f5e408d6a |
| children |
line wrap: on
line diff
--- a/mod_sasl2_fast/mod_sasl2_fast.lua Fri Mar 13 07:46:57 2026 +0100 +++ b/mod_sasl2_fast/mod_sasl2_fast.lua Fri Mar 13 07:54:36 2026 +0100 @@ -213,7 +213,8 @@ local cb_data; if cb_name then if not sasl_handler.profile.cb then - module:log("warn", "Attempt to use channel binding %s with SASL profile that does not support any channel binding (FAST: %s)", cb_name, sasl_handler.fast); + local msg = "Attempt to use channel binding %s with SASL profile that does not support any channel binding (FAST: %s)" + module:log("warn", msg, cb_name, sasl_handler.fast) return "failure", "malformed-request"; elseif not sasl_handler.profile.cb[cb_name] then module:log("warn", "SASL profile does not support %s channel binding (FAST: %s)", cb_name, sasl_handler.fast);
