Software /
code /
prosody
Changeset
6729:daa5c83b2879
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 21 May 2015 22:56:39 +0200 |
parents | 6727:eb9c842b80fa (current diff) 6728:db28b8639737 (diff) |
children | 6745:6728ad041761 |
files | plugins/mod_storage_sql2.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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()