mod_mam_muc: Minor syntax change
authorKim Alvefur <zash@zash.se>
Tue, 14 Feb 2017 09:51:22 +0100
changeset 2504 ec046f915506
parent 2503 b8805ab1d470
child 2505 04064f01df0e
mod_mam_muc: Minor syntax change
mod_mam_muc/mod_mam_muc.lua
--- a/mod_mam_muc/mod_mam_muc.lua	Tue Feb 14 09:49:23 2017 +0100
+++ b/mod_mam_muc/mod_mam_muc.lua	Tue Feb 14 09:51:22 2017 +0100
@@ -190,7 +190,7 @@
 		local vstart, vend = (qstart and timestamp_parse(qstart)), (qend and timestamp_parse(qend))
 		if (qstart and not vstart) or (qend and not vend) then
 			origin.send(st.error_reply(stanza, "modify", "bad-request", "Invalid timestamp"))
-			return true
+			return true;
 		end
 		qstart, qend = vstart, vend;
 	end
@@ -254,6 +254,7 @@
 			origin.send(fwd_st);
 		end
 	end
+
 	if reverse then
 		for i = #results, 1, -1 do
 			origin.send(results[i]);