mod_storage_gdbm: Fix typo in unused field on store instance
authorKim Alvefur <zash@zash.se>
Tue, 19 May 2015 22:15:53 +0200
changeset 1758 c04d10557bbc
parent 1757 54c8a0cb2996
child 1759 0a21b16b9075
mod_storage_gdbm: Fix typo in unused field on store instance
mod_storage_gdbm/mod_storage_gdbm.lua
--- 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)