diff options
author | Kim Alvefur <zash@zash.se> | 2022-03-07 00:13:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-03-07 00:13:56 +0100 |
commit | 43351d2b54f7d8451a0e1ada7a72514c1ae1e396 (patch) | |
tree | 69239d940028f6a8a29b1f6b0524d932d1553c7b /tools | |
parent | ece896d2532cc91ea95c0194e3db439c364235eb (diff) | |
download | prosody-43351d2b54f7d8451a0e1ada7a72514c1ae1e396.tar.gz prosody-43351d2b54f7d8451a0e1ada7a72514c1ae1e396.zip |
Spelling: Fix various spelling mistakes (thanks timeless)
Words, sometimes I wonder how they even work
Maybe I missed something.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ejabberd2prosody.lua | 2 | ||||
-rw-r--r-- | tools/migration/prosody-migrator.lua | 4 |
2 files changed, 3 insertions, 3 deletions
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 |