aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_uptime.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-24 13:15:28 +0100
committerKim Alvefur <zash@zash.se>2023-03-24 13:15:28 +0100
commit98922d54b12086c9e71c55dcb9c766d584522552 (patch)
tree70ab8d93827b088e4585a59e9fc2493c33c0deda /plugins/mod_uptime.lua
parent8136aa749a76e4fbb5b7e3cc34c878733647b8e9 (diff)
downloadprosody-98922d54b12086c9e71c55dcb9c766d584522552.tar.gz
prosody-98922d54b12086c9e71c55dcb9c766d584522552.zip
plugins: Prefix module imports with prosody namespace
Diffstat (limited to 'plugins/mod_uptime.lua')
-rw-r--r--plugins/mod_uptime.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_uptime.lua b/plugins/mod_uptime.lua
index 8a01fb17..9fbf7612 100644
--- a/plugins/mod_uptime.lua
+++ b/plugins/mod_uptime.lua
@@ -6,7 +6,7 @@
-- COPYING file in the source package for more information.
--
-local st = require "util.stanza";
+local st = require "prosody.util.stanza";
local start_time = prosody.start_time;
module:hook_global("server-started", function() start_time = prosody.start_time end);