# HG changeset patch # User Kim Alvefur # Date 1432203068 -7200 # Node ID db28b86397377bf6254122b92d504f997cf76860 # Parent e6e80ec5003049184d130298a391e992b8c10f7c mod_storage_sql2: Fix argument compat thing from 41725f3df3cc, it was backwards diff -r e6e80ec50030 -r db28b8639737 plugins/mod_storage_sql2.lua --- a/plugins/mod_storage_sql2.lua Tue May 19 18:24:53 2015 +0200 +++ b/plugins/mod_storage_sql2.lua Thu May 21 12:11:08 2015 +0200 @@ -221,7 +221,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()