# HG changeset patch # User Kim Alvefur # Date 1643989175 -3600 # Node ID 57792ed670e7c7bc6185aac22938d3f9eef4fb2f # Parent 99560987ea194aadc5d170012a6ccf44166ea1a8 mod_bookmarks: Fix typos in stanza error messages [codespell] diff -r 99560987ea19 -r 57792ed670e7 plugins/mod_bookmarks.lua --- a/plugins/mod_bookmarks.lua Fri Feb 04 16:39:21 2022 +0100 +++ b/plugins/mod_bookmarks.lua Fri Feb 04 16:39:35 2022 +0100 @@ -88,7 +88,7 @@ local ok, ret = service:get_items(namespace, session.full_jid); if not ok then module:log("error", "Failed to retrieve PEP bookmarks of %s: %s", jid, ret); - session.send(st.error_reply(stanza, "cancel", ret, "Failed to retrive bookmarks from PEP")); + session.send(st.error_reply(stanza, "cancel", ret, "Failed to retrieve bookmarks from PEP")); return true; end @@ -127,7 +127,7 @@ session.send(st.reply(stanza):add_child(query)); else module:log("error", "Failed to retrieve PEP bookmarks of %s: %s", jid, ret); - session.send(st.error_reply(stanza, "cancel", ret, "Failed to retrive bookmarks from PEP")); + session.send(st.error_reply(stanza, "cancel", ret, "Failed to retrieve bookmarks from PEP")); end return true; end