Diff

core/stanza_router.lua @ 7802:802dc0691177

stanza_router: Fix typo
author Kim Alvefur <zash@zash.se>
date Mon, 02 Jan 2017 01:59:03 +0100
parent 7785:cdffbda59b03
child 7947:24170d74b00b
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