Comparison

plugins/muc/subject.lib.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 11141:a5acd6354845
comparison
equal deleted inserted replaced
12976:a187600ec7d6 12977:74b9e05af71e
5 -- 5 --
6 -- This project is MIT/X11 licensed. Please see the 6 -- This project is MIT/X11 licensed. Please see the
7 -- COPYING file in the source package for more information. 7 -- COPYING file in the source package for more information.
8 -- 8 --
9 9
10 local st = require "util.stanza"; 10 local st = require "prosody.util.stanza";
11 local dt = require "util.datetime"; 11 local dt = require "prosody.util.datetime";
12 12
13 local muc_util = module:require "muc/util"; 13 local muc_util = module:require "muc/util";
14 local valid_roles = muc_util.valid_roles; 14 local valid_roles = muc_util.valid_roles;
15 15
16 local function create_subject_message(from, subject) 16 local function create_subject_message(from, subject)