Changeset

9842:6f39be2e0be5 0.11

mod_muc_mam: Move a comment to the line it describes
author Kim Alvefur <zash@zash.se>
date Mon, 04 Mar 2019 12:57:42 +0100
parents 9841:a44f562e01a5
children 9843:17060708d0eb
files plugins/mod_muc_mam.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_muc_mam.lua	Mon Mar 04 12:56:31 2019 +0100
+++ b/plugins/mod_muc_mam.lua	Mon Mar 04 12:57:42 2019 +0100
@@ -341,12 +341,12 @@
 	-- Policy check
 	if not archiving_enabled(self) then return end -- Don't log
 
-	-- And stash it
 	local with = stanza.name
 	if stanza.attr.type then
 		with = with .. "<" .. stanza.attr.type
 	end
 
+	-- And stash it
 	local id = archive:append(room_node, nil, stored_stanza, time_now(), with);
 
 	if id then