Software /
code /
prosody-modules
Diff
mod_storage_gdbm/mod_storage_gdbm.lua @ 1754:c04d10557bbc
mod_storage_gdbm: Fix typo in unused field on store instance
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 19 May 2015 22:15:53 +0200 |
parent | 1753:54c8a0cb2996 |
child | 1756:c619425dafe7 |
line wrap: on
line diff
--- a/mod_storage_gdbm/mod_storage_gdbm.lua Tue May 19 18:34:08 2015 +0200 +++ b/mod_storage_gdbm/mod_storage_gdbm.lua Tue May 19 22:15:53 2015 +0200 @@ -152,7 +152,7 @@ db = assert(gdbm.open(db_path, "c")); cache[db_path] = db; end - return setmetatable({ _db = db; _path = db_path; store = store, typ = type }, driver_mt); + return setmetatable({ _db = db; _path = db_path; store = store, type = typ }, driver_mt); end function purge(_, user)