aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-21 17:58:50 +0200
committerKim Alvefur <zash@zash.se>2018-10-21 17:58:50 +0200
commitcf7a0c252addd9f4ccb80883672139b47c7e55a8 (patch)
tree94d3de05fd8de12e51a765156e18549055bd429e /plugins
parentc952045eb67a4a4da78525c83c533258180c9e9d (diff)
downloadprosody-cf7a0c252addd9f4ccb80883672139b47c7e55a8.tar.gz
prosody-cf7a0c252addd9f4ccb80883672139b47c7e55a8.zip
mod_storage_memory: Remove compat for very early argument order
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_storage_memory.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/mod_storage_memory.lua b/plugins/mod_storage_memory.lua
index ec29fba6..20135d86 100644
--- a/plugins/mod_storage_memory.lua
+++ b/plugins/mod_storage_memory.lua
@@ -42,9 +42,6 @@ local archive_store = {};
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
if is_stanza(value) then
value = st.preserialize(value);
value = envload("return xml"..serialize(value), "=(stanza)", { xml = st.deserialize })