core: Prefix module imports with prosody namespace

This commit is contained in:
Kim Alvefur 2023-03-17 16:23:07 +01:00
parent 9c63ae60fd
commit d47a7bb3bd
15 changed files with 102 additions and 102 deletions

View file

@ -1,10 +1,10 @@
local config = require "core.configmanager";
local log = require "util.logger".init("stats");
local timer = require "util.timer";
local config = require "prosody.core.configmanager";
local log = require "prosody.util.logger".init("stats");
local timer = require "prosody.util.timer";
local fire_event = prosody.events.fire_event;
local array = require "util.array";
local timed = require "util.openmetrics".timed;
local array = require "prosody.util.array";
local timed = require "prosody.util.openmetrics".timed;
local stats_interval_config = config.get("*", "statistics_interval");
local stats_interval = tonumber(stats_interval_config);
@ -26,8 +26,8 @@ if stats_interval_config == "manual" then
end
local builtin_providers = {
internal = "util.statistics";
statsd = "util.statsd";
internal = "prosody.util.statistics";
statsd = "prosody.util.statsd";
};