aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-04-29 02:40:39 +0200
committerKim Alvefur <zash@zash.se>2019-04-29 02:40:39 +0200
commit5da92eb0973e60d13b3240dee2ec9f09335923d0 (patch)
treec73db79ca2b5584cbbcc95873184bb8730d6ffb6
parente40cf146149c412e17d789d1b0a0132117494747 (diff)
downloadprosody-5da92eb0973e60d13b3240dee2ec9f09335923d0.tar.gz
prosody-5da92eb0973e60d13b3240dee2ec9f09335923d0.zip
mod_mimicking: Import skeleton() from current location
-rw-r--r--plugins/mod_mimicking.lua6
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;