mod_storage_xmlarchive/mod_storage_xmlarchive.lua
changeset 1756 3f3689a16133
parent 1746 ec50cecc9318
child 1757 54c8a0cb2996
equal deleted inserted replaced
1755:3f3a5daf31cc 1756:3f3689a16133
   159 						reset_stream();
   159 						reset_stream();
   160 					end
   160 					end
   161 					if result then
   161 					if result then
   162 						local stanza = result;
   162 						local stanza = result;
   163 						result = nil;
   163 						result = nil;
   164 						return item.id, stanza, item.when, item.with;
   164 						return item.id, stanza, i_when, i_with;
   165 					end
   165 					end
   166 				end
   166 				end
   167 				if (rev and item.id == query.after) or
   167 				if (rev and item.id == query.after) or
   168 					(not rev and item.id == query.before) then
   168 					(not rev and item.id == query.before) then
   169 					in_range = false;
   169 					in_range = false;