Diff

mod_storage_gdbm/mod_storage_gdbm.lua @ 1635:b877b75eb973

mod_storage_gdbm: Fix name of empty table
author Kim Alvefur <zash@zash.se>
date Wed, 25 Mar 2015 17:52:31 +0100
parent 1634:25441bd8b344
child 1653:1fe899527ee5
line wrap: on
line diff
--- a/mod_storage_gdbm/mod_storage_gdbm.lua	Wed Mar 25 17:45:53 2015 +0100
+++ b/mod_storage_gdbm/mod_storage_gdbm.lua	Wed Mar 25 17:52:31 2015 +0100
@@ -99,7 +99,7 @@
 };
 
 function archive:find(username, query)
-	query = query or empty_query;
+	query = query or empty;
 	local meta = self:get(username) or empty;
 	local prefix = (username or "@") .. "#";
 	local r = query.reverse;