Diff

mod_sasl2_sm/mod_sasl2_sm.lua @ 5094:c92c87daa09e

mod_sasl2_sm: 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:12:34 +0100
parent 5060:bc491065c221
child 5749:92ce3859df63
line wrap: on
line diff
--- a/mod_sasl2_sm/mod_sasl2_sm.lua	Mon Nov 28 19:05:48 2022 +0100
+++ b/mod_sasl2_sm/mod_sasl2_sm.lua	Mon Nov 28 19:12:34 2022 +0100
@@ -5,6 +5,8 @@
 local xmlns_sasl2 = "urn:xmpp:sasl:2";
 local xmlns_sm = "urn:xmpp:sm:3";
 
+module:depends("sasl2");
+
 -- Advertise what we can do
 
 module:hook("advertise-sasl-features", function (event)