Mon, 25 Jun 2012 02:27:43 +0200
plugins.archive: Don't modify the query params table
plugins/archive.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/archive.lua Fri Jun 08 21:39:01 2012 +0200 +++ b/plugins/archive.lua Mon Jun 25 02:27:43 2012 +0200 @@ -32,11 +32,8 @@ if qend then query_st:tag("end"):text(datetime(qend)):up(); end - query_params["start"], query_params["end"], query_params["with"] = nil, nil, nil; - if next(query_params) then - query_st:add_child(rsm.generate(query_params)); - end + query_st:add_child(rsm.generate(query_params)); local results = {}; local function handle_archived_message(message)