Software /
code /
prosody-modules
Changeset
3435:26a549513f02
mod_storage_xmlarchive: Remove compat for old argument order
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 06 Jan 2019 10:27:55 +0100 |
parents | 3434:a6722a35f35e |
children | 3436:12c7c0d7e1b0 |
files | mod_storage_xmlarchive/mod_storage_xmlarchive.lua |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Sun Jan 06 10:27:16 2019 +0100 +++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Sun Jan 06 10:27:55 2019 +0100 @@ -25,9 +25,6 @@ end function archive:append(username, _, data, when, with) - if type(when) ~= "number" then - when, with, data = data, when, with; - end if not is_stanza(data) then module:log("error", "Attempt to store non-stanza object, traceback: %s", debug.traceback()); return nil, "unsupported-datatype";