Changeset

7802:802dc0691177

stanza_router: Fix typo
author Kim Alvefur <zash@zash.se>
date Mon, 02 Jan 2017 01:59:03 +0100
parents 7801:1aea8978d7ef
children 7803:4d182b9a8109 7807:caf26fc419e9
files core/stanza_router.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/stanza_router.lua	Mon Jan 02 01:51:39 2017 +0100
+++ b/core/stanza_router.lua	Mon Jan 02 01:59:03 2017 +0100
@@ -74,7 +74,7 @@
 				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