From f4b4f1020ae91754d915d296749510031e7c784c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 21 May 2015 12:11:08 +0200 Subject: mod_storage_sql2: Fix argument compat thing from 41725f3df3cc, it was backwards --- plugins/mod_storage_sql2.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_storage_sql2.lua b/plugins/mod_storage_sql2.lua index 21299f33..e15668af 100644 --- a/plugins/mod_storage_sql2.lua +++ b/plugins/mod_storage_sql2.lua @@ -221,7 +221,7 @@ archive_store.caps = { 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() -- cgit v1.2.3