diff mod_storage_gdbm/mod_storage_gdbm.lua @ 1760:e72f9eac51c8

mod_storage_(various): Order swapping in 54c8a0cb2996 was backwards
author Kim Alvefur <zash@zash.se>
date Thu, 21 May 2015 12:09:47 +0200
parents c619425dafe7
children 95ad6e68e203
line wrap: on
line diff
--- a/mod_storage_gdbm/mod_storage_gdbm.lua	Thu May 21 11:56:35 2015 +0200
+++ b/mod_storage_gdbm/mod_storage_gdbm.lua	Thu May 21 12:09:47 2015 +0200
@@ -75,7 +75,7 @@
 
 function archive:append(username, key, value, when, with)
 	if type(when) ~= "number" then
-		value, when, with = when, with, value;
+		when, with, value = value, when, with;
 	end
 
 	key = key or uuid();