diff options
author | Kim Alvefur <zash@zash.se> | 2019-04-29 02:40:39 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-04-29 02:40:39 +0200 |
commit | 5da92eb0973e60d13b3240dee2ec9f09335923d0 (patch) | |
tree | c73db79ca2b5584cbbcc95873184bb8730d6ffb6 | |
parent | e40cf146149c412e17d789d1b0a0132117494747 (diff) | |
download | prosody-5da92eb0973e60d13b3240dee2ec9f09335923d0.tar.gz prosody-5da92eb0973e60d13b3240dee2ec9f09335923d0.zip |
mod_mimicking: Import skeleton() from current location
-rw-r--r-- | plugins/mod_mimicking.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/mod_mimicking.lua b/plugins/mod_mimicking.lua index 9004957a..da03967f 100644 --- a/plugins/mod_mimicking.lua +++ b/plugins/mod_mimicking.lua @@ -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; |