Software /
code /
prosody-modules
Changeset
1602:3912a53fd4db
mod_storage_gdbm: Get 'after' parameter from correct table
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 07 Feb 2015 22:22:15 +0100 |
parents | 1601:c5ca63ac0e1b |
children | 1603:1fbec16996f5 |
files | mod_storage_gdbm/mod_storage_gdbm.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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