From 43351d2b54f7d8451a0e1ada7a72514c1ae1e396 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 7 Mar 2022 00:13:56 +0100 Subject: Spelling: Fix various spelling mistakes (thanks timeless) Words, sometimes I wonder how they even work Maybe I missed something. --- tools/ejabberd2prosody.lua | 2 +- tools/migration/prosody-migrator.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/ejabberd2prosody.lua b/tools/ejabberd2prosody.lua index e3caefd5..57bdc95b 100755 --- a/tools/ejabberd2prosody.lua +++ b/tools/ejabberd2prosody.lua @@ -187,7 +187,7 @@ function muc_room(node, host, properties) for _,aff in ipairs(properties.affiliations) do store._affiliations[build_jid(aff[1])] = aff[2][1] or aff[2]; end - -- destructre ejabberd's subject datum (e.g. [{text,<<>>,<<"my room subject">>}] ) + -- destructure ejabberd's subject datum (e.g. [{text,<<>>,<<"my room subject">>}] ) store._data.subject = properties.subject[1][3]; if properties.subject_author then store._data.subject_from = store.jid .. "/" .. properties.subject_author; diff --git a/tools/migration/prosody-migrator.lua b/tools/migration/prosody-migrator.lua index c51dde15..21eb32e7 100644 --- a/tools/migration/prosody-migrator.lua +++ b/tools/migration/prosody-migrator.lua @@ -38,7 +38,7 @@ local function usage() print("Usage: " .. arg[0] .. " [OPTIONS] FROM_STORE TO_STORE"); print(" --config FILE Specify config file") print(" --keep-going Keep going in case of errors"); - print(" -v, --verbose Incease log-level"); + print(" -v, --verbose Increase log-level"); print(""); print("If no stores are specified, 'input' and 'output' are used."); end @@ -153,7 +153,7 @@ local function users(store, host) log("debug", "Using store user iterator") return store:users(); else - log("debug", "Using usermanagre user iterator") + log("debug", "Using usermanager user iterator") return um.users(host); end end -- cgit v1.2.3