aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_storage_internal.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_storage_internal.lua b/plugins/mod_storage_internal.lua
index 1f1ad68f..deab7dfd 100644
--- a/plugins/mod_storage_internal.lua
+++ b/plugins/mod_storage_internal.lua
@@ -180,6 +180,7 @@ function archive:find(username, query)
i = i - 1
return list[i]
end
+ query.before, query.after = query.after, query.before;
end
if query.key then
iter = it.filter(function(item)