# HG changeset patch # User Kim Alvefur # Date 1423344135 -3600 # Node ID 3912a53fd4db4ee2f6faff32604e1e286137143e # Parent c5ca63ac0e1b9550de8c7e0894186fc11abaa5ac mod_storage_gdbm: Get 'after' parameter from correct table diff -r c5ca63ac0e1b -r 3912a53fd4db mod_storage_gdbm/mod_storage_gdbm.lua --- a/mod_storage_gdbm/mod_storage_gdbm.lua Fri Jan 30 12:25:13 2015 +0100 +++ b/mod_storage_gdbm/mod_storage_gdbm.lua Sat Feb 07 22:22:15 2015 +0100 @@ -79,7 +79,7 @@ local meta = self:get(username); local r = query.reverse; local d = r and -1 or 1; - local s = meta[ifelse(r, query.before, meta.after)]; + local s = meta[ifelse(r, query.before, query.after)]; if s then s = s + d; else