Comparison

plugins/mod_mimicking.lua @ 9981:8758febbaca2

mod_mimicking: Import skeleton() from current location
author Kim Alvefur <zash@zash.se>
date Mon, 29 Apr 2019 02:40:39 +0200
parent 9980:73a447249fe4
child 9982:d09575dae242
comparison
equal deleted inserted replaced
9980:73a447249fe4 9981:8758febbaca2
1 -- Prosody IM 1 -- Prosody IM
2 -- Copyright (C) 2012 Florian Zeitz 2 -- Copyright (C) 2012 Florian Zeitz
3 -- Copyright (C) 2019 Kim Alvefur
3 -- 4 --
4 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
5 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
6 -- 7 --
7 8
8 local skeleton = require "util.confusable".skeleton; 9 local encodings = require "util.encodings";
10 assert(encodings.confusable, "This module requires that Prosody be built with ICU");
11 local skeleton = encodings.confusable.skeleton;
12
9 local datamanager = require "util.datamanager"; 13 local datamanager = require "util.datamanager";
10 local usage = require "util.prosodyctl".show_usage; 14 local usage = require "util.prosodyctl".show_usage;
11 local warn = require "util.prosodyctl".show_warning; 15 local warn = require "util.prosodyctl".show_warning;
12 local users = require "usermanager".users; 16 local users = require "usermanager".users;
13 17