Software /
code /
prosody
Changeset
9981:8758febbaca2
mod_mimicking: Import skeleton() from current location
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 29 Apr 2019 02:40:39 +0200 |
parents | 9980:73a447249fe4 |
children | 9982:d09575dae242 |
files | plugins/mod_mimicking.lua |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_mimicking.lua Mon Aug 06 15:35:27 2012 +0200 +++ b/plugins/mod_mimicking.lua Mon Apr 29 02:40:39 2019 +0200 @@ -1,11 +1,15 @@ -- Prosody IM -- Copyright (C) 2012 Florian Zeitz +-- Copyright (C) 2019 Kim Alvefur -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- -local skeleton = require "util.confusable".skeleton; +local encodings = require "util.encodings"; +assert(encodings.confusable, "This module requires that Prosody be built with ICU"); +local skeleton = encodings.confusable.skeleton; + local datamanager = require "util.datamanager"; local usage = require "util.prosodyctl".show_usage; local warn = require "util.prosodyctl".show_warning;