Diff

plugins/sasl.lua @ 490:6b2f31da9610

Update for new Prosody module namespace
author Kim Alvefur <zash@zash.se>
date Sat, 20 May 2023 20:48:03 +0200
parent 467:8e6a7a5e70b3
line wrap: on
line diff
--- a/plugins/sasl.lua	Tue May 23 19:46:52 2023 +0200
+++ b/plugins/sasl.lua	Sat May 20 20:48:03 2023 +0200
@@ -19,7 +19,7 @@
 			offered[mech] = true;
 			if not mechanisms[mech] then
 				local name = mech:match("[^-]+");
-				local ok, impl = pcall(require, "util.sasl."..name:lower());
+				local ok, impl = pcall(require, "verse.util.sasl."..name:lower());
 				if ok then
 					stream:debug("Loaded SASL %s module", name);
 					mechanisms[mech], preference[mech] = impl(stream, mech);