Comparison

plugins/mod_time.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 12635:f928cb5c5d04
comparison
equal deleted inserted replaced
12976:a187600ec7d6 12977:74b9e05af71e
4 -- 4 --
5 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 8
9 local st = require "util.stanza"; 9 local st = require "prosody.util.stanza";
10 local datetime = require "util.datetime".datetime; 10 local datetime = require "prosody.util.datetime".datetime;
11 local now = require "util.time".now; 11 local now = require "prosody.util.time".now;
12 12
13 -- XEP-0202: Entity Time 13 -- XEP-0202: Entity Time
14 14
15 module:add_feature("urn:xmpp:time"); 15 module:add_feature("urn:xmpp:time");
16 16