# HG changeset patch # User Kim Alvefur # Date 1432241799 -7200 # Node ID daa5c83b28794fae8e263acb143c2cb5e81e78ce # Parent eb9c842b80fa3e0dfa1e2ec225c13140dc106bd4# Parent db28b86397377bf6254122b92d504f997cf76860 Merge 0.10->trunk diff -r eb9c842b80fa -r daa5c83b2879 plugins/mod_storage_sql2.lua --- a/plugins/mod_storage_sql2.lua Tue May 19 23:23:44 2015 +0200 +++ b/plugins/mod_storage_sql2.lua Thu May 21 22:56:39 2015 +0200 @@ -254,7 +254,7 @@ archive_store.__index = archive_store function archive_store:append(username, key, value, when, with) if type(when) ~= "number" then - value, when, with = when, with, value; + when, with, value = value, when, with; end local user,store = username,self.store; return engine:transaction(function()