diff options
author | Kim Alvefur <zash@zash.se> | 2023-03-17 16:23:16 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-03-17 16:23:16 +0100 |
commit | 43531740f99da82f023bee26d954fc71bde94635 (patch) | |
tree | 558068f570448be5d36fc90cd52b530e33c7c324 /util/logger.lua | |
parent | 869581384d74b506b026c70584a7338e7f1399cb (diff) | |
download | prosody-43531740f99da82f023bee26d954fc71bde94635.tar.gz prosody-43531740f99da82f023bee26d954fc71bde94635.zip |
util: Prefix module imports with prosody namespace
Diffstat (limited to 'util/logger.lua')
-rw-r--r-- | util/logger.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/logger.lua b/util/logger.lua index 148b98dc..ad6921a1 100644 --- a/util/logger.lua +++ b/util/logger.lua @@ -72,7 +72,7 @@ local function add_level_sink(level, sink_function) end local function add_simple_sink(simple_sink_function, levels) - local format = require "util.format".format; + local format = require "prosody.util.format".format; local function sink_function(name, level, msg, ...) return simple_sink_function(name, level, format(msg, ...)); end |