comparison plugins/mod_iq.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
parents 41c959c5c84b
children
comparison
equal deleted inserted replaced
12976:a187600ec7d6 12977:74b9e05af71e
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 9
10 local st = require "util.stanza"; 10 local st = require "prosody.util.stanza";
11 11
12 local full_sessions = prosody.full_sessions; 12 local full_sessions = prosody.full_sessions;
13 13
14 if module:get_host_type() == "local" then 14 if module:get_host_type() == "local" then
15 module:hook("iq/full", function(data) 15 module:hook("iq/full", function(data)