Diff

plugins/mod_welcome.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 8161:31938a0c398f
line wrap: on
line diff
--- a/plugins/mod_welcome.lua	Fri Mar 17 18:03:07 2023 +0100
+++ b/plugins/mod_welcome.lua	Fri Mar 24 13:15:28 2023 +0100
@@ -9,7 +9,7 @@
 local host = module:get_host();
 local welcome_text = module:get_option_string("welcome_message", "Hello $username, welcome to the $host IM server!");
 
-local st = require "util.stanza";
+local st = require "prosody.util.stanza";
 
 module:hook("user-registered",
 	function (user)