diff options
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 |