Software /
code /
prosody
Diff
plugins/mod_storage_sql.lua @ 8029:e859f279add4
mod_storage_sql: Remove compat for argument order change
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Apr 2017 19:02:27 +0200 |
parent | 7907:8e2446cdf6fa |
child | 8031:ef838b7f8f53 |
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua Fri Mar 31 18:52:53 2017 +0200 +++ b/plugins/mod_storage_sql.lua Sat Apr 01 19:02:27 2017 +0200 @@ -183,9 +183,6 @@ }; archive_store.__index = archive_store function archive_store:append(username, key, value, when, with) - if type(when) ~= "number" then - when, with, value = value, when, with; - end local user,store = username,self.store; local ok, key = engine:transaction(function() if key then