Comparison

plugins/mod_invites_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
parent 12642:9061f9621330
child 13170:082c7d856e61
comparison
equal deleted inserted replaced
12976:a187600ec7d6 12977:74b9e05af71e
1 -- XEP-0401: Easy User Onboarding 1 -- XEP-0401: Easy User Onboarding
2 local dataforms = require "util.dataforms"; 2 local dataforms = require "prosody.util.dataforms";
3 local datetime = require "util.datetime"; 3 local datetime = require "prosody.util.datetime";
4 local split_jid = require "util.jid".split; 4 local split_jid = require "prosody.util.jid".split;
5 5
6 local new_adhoc = module:require("adhoc").new; 6 local new_adhoc = module:require("adhoc").new;
7 7
8 -- Whether local users can invite other users to create an account on this server 8 -- Whether local users can invite other users to create an account on this server
9 local allow_user_invites = module:get_option_boolean("allow_user_invites", false); 9 local allow_user_invites = module:get_option_boolean("allow_user_invites", false);