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
commit03151ec6d54ec9cc53b917fdbe80a492a489b0f6 (patch)
tree94d3de05fd8de12e51a765156e18549055bd429e /plugins
parent2029dbf49613757e2621270a6e0c520d52689311 (diff)
downloadprosody-03151ec6d54ec9cc53b917fdbe80a492a489b0f6.tar.gz
prosody-03151ec6d54ec9cc53b917fdbe80a492a489b0f6.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 })