# HG changeset patch # User Kim Alvefur # Date 1546766875 -3600 # Node ID 26a549513f02a0c27a4be4d477e80ed69aa5e25a # Parent a6722a35f35eec4eca7b8f6bfb77261fcfbc9d96 mod_storage_xmlarchive: Remove compat for old argument order diff -r a6722a35f35e -r 26a549513f02 mod_storage_xmlarchive/mod_storage_xmlarchive.lua --- 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";