Mercurial > prosody-modules
diff mod_sasl2_bind2/mod_sasl2_bind2.lua @ 5093:f2dfbcc676a6
mod_sasl2_bind2: Add explicit dependency on mod_sasl2
Ensures mod_sasl2 is installed and loaded so it can fire the relevant
events.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 28 Nov 2022 19:05:48 +0100 |
parents | bc491065c221 |
children | 6361afcda1a3 |
line wrap: on
line diff
--- a/mod_sasl2_bind2/mod_sasl2_bind2.lua Mon Nov 28 12:06:28 2022 +0000 +++ b/mod_sasl2_bind2/mod_sasl2_bind2.lua Mon Nov 28 19:05:48 2022 +0100 @@ -8,6 +8,8 @@ local xmlns_bind2 = "urn:xmpp:bind:0"; local xmlns_sasl2 = "urn:xmpp:sasl:2"; +module:depends("sasl2"); + -- Advertise what we can do module:hook("advertise-sasl-features", function(event)