aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-01-02 03:06:51 +0100
committerKim Alvefur <zash@zash.se>2017-01-02 03:06:51 +0100
commitb4d3ccdb3c7e3d01db5c5b58f1c2fe7d444ea548 (patch)
tree86cb32a5b72a214dbd7cf37ee7ae89b5c03de5be
parentcf321839ed4c3b7e10969081d3a749a5e04e509b (diff)
parent68b56946d1ae6acb23cb935fe1071f2d98f04875 (diff)
downloadprosody-b4d3ccdb3c7e3d01db5c5b58f1c2fe7d444ea548.tar.gz
prosody-b4d3ccdb3c7e3d01db5c5b58f1c2fe7d444ea548.zip
Merge 0.10->trunk
-rw-r--r--core/stanza_router.lua2
-rwxr-xr-xprosody2
2 files changed, 2 insertions, 2 deletions
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
diff --git a/prosody b/prosody
index fb20bc49..f8e0a4d2 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