Diff

plugins/mod_tls.lua @ 12977:74b9e05af71e

plugins: Prefix module imports with prosody namespace
author Kim Alvefur <zash@zash.se>
date Fri, 24 Mar 2023 13:15:28 +0100
parent 12602:9184fe3d489a
child 13076:f4e33d17eaa8
line wrap: on
line diff
--- a/plugins/mod_tls.lua	Fri Mar 17 18:03:07 2023 +0100
+++ b/plugins/mod_tls.lua	Fri Mar 24 13:15:28 2023 +0100
@@ -6,9 +6,9 @@
 -- COPYING file in the source package for more information.
 --
 
-local create_context = require "core.certmanager".create_context;
-local rawgetopt = require"core.configmanager".rawget;
-local st = require "util.stanza";
+local create_context = require "prosody.core.certmanager".create_context;
+local rawgetopt = require"prosody.core.configmanager".rawget;
+local st = require "prosody.util.stanza";
 
 local c2s_require_encryption = module:get_option("c2s_require_encryption", module:get_option("require_encryption", true));
 local s2s_require_encryption = module:get_option("s2s_require_encryption", true);