Software /
code /
verse
Diff
plugins/archive.lua @ 305:4a0206505b9d
plugins.archive: Don't modify the query params table
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 25 Jun 2012 02:27:43 +0200 |
parent | 304:e09ae2395d41 |
child | 345:266a96ae4c0d |
line wrap: on
line diff
--- 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)