comparison plugins/adhoc/mod_adhoc.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 9061f9621330
children 3174308d127e
comparison
equal deleted inserted replaced
12976:a187600ec7d6 12977:74b9e05af71e
3 -- 3 --
4 -- This file is MIT/X11 licensed. Please see the 4 -- This file is MIT/X11 licensed. Please see the
5 -- COPYING file in the source package for more information. 5 -- COPYING file in the source package for more information.
6 -- 6 --
7 7
8 local it = require "util.iterators"; 8 local it = require "prosody.util.iterators";
9 local st = require "util.stanza"; 9 local st = require "prosody.util.stanza";
10 local jid_host = require "util.jid".host; 10 local jid_host = require "prosody.util.jid".host;
11 local adhoc_handle_cmd = module:require "adhoc".handle_cmd; 11 local adhoc_handle_cmd = module:require "adhoc".handle_cmd;
12 local xmlns_cmd = "http://jabber.org/protocol/commands"; 12 local xmlns_cmd = "http://jabber.org/protocol/commands";
13 local commands = {}; 13 local commands = {};
14 14
15 module:add_feature(xmlns_cmd); 15 module:add_feature(xmlns_cmd);