From 5b7f61f6cbe06e42f9c08674d2ad9e0c45d862a6 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 2 Jan 2017 01:51:39 +0100 Subject: prosody: Fix typo --- prosody | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosody b/prosody index 32aeba07..209991e0 100755 --- a/prosody +++ b/prosody @@ -95,7 +95,7 @@ function read_config() print("\n"); print("**************************"); if level == "parser" then - print("A problem occured while reading the config file "..(CFG_CONFIGDIR or ".").."/prosody.cfg.lua"..":"); + print("A problem occurred while reading the config file "..(CFG_CONFIGDIR or ".").."/prosody.cfg.lua"..":"); print(""); local err_line, err_message = tostring(err):match("%[string .-%]:(%d*): (.*)"); if err:match("chunk has too many syntax levels$") then -- cgit v1.2.3 From 68b56946d1ae6acb23cb935fe1071f2d98f04875 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 2 Jan 2017 01:59:03 +0100 Subject: stanza_router: Fix typo --- core/stanza_router.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/stanza_router.lua b/core/stanza_router.lua index 98952faf..228fed80 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -74,7 +74,7 @@ function core_process_stanza(origin, stanza) origin.send(st.error_reply(stanza, "modify", "bad-request", "Missing required 'id' attribute")); return; elseif (st_type == "set" or st_type == "get") and (#stanza.tags ~= 1) then - origin.send(st.error_reply(stanza, "modify", "bad-request", "Incorrect number of children for IQ stanz")); + origin.send(st.error_reply(stanza, "modify", "bad-request", "Incorrect number of children for IQ stanza")); return; end end -- cgit v1.2.3