Software /
code /
prosody
Diff
plugins/mod_storage_sql2.lua @ 6729:daa5c83b2879
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 21 May 2015 22:56:39 +0200 |
parent | 6727:eb9c842b80fa |
parent | 6728:db28b8639737 |
child | 6745:6728ad041761 |
line wrap: on
line diff
--- 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()