plugins: Prefix module imports with prosody namespace

This commit is contained in:
Kim Alvefur 2023-03-24 13:15:28 +01:00
parent 8136aa749a
commit 98922d54b1
100 changed files with 499 additions and 499 deletions

View file

@ -1,10 +1,10 @@
local mm = require "core.modulemanager";
local mm = require "prosody.core.modulemanager";
if mm.get_modules_for_host(module.host):contains("bookmarks2") then
error("mod_bookmarks and mod_bookmarks2 are conflicting, please disable one of them.", 0);
end
local st = require "util.stanza";
local jid_split = require "util.jid".split;
local st = require "prosody.util.stanza";
local jid_split = require "prosody.util.jid".split;
local mod_pep = module:depends "pep";
local private_storage = module:open_store("private", "map");