changeset 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
parents 54c8a0cb2996
children 0a21b16b9075
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	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)