diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-21 17:58:50 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-21 17:58:50 +0200 |
commit | 9902388da51adb2435012a64fe06757d4cef97b9 (patch) | |
tree | 94d3de05fd8de12e51a765156e18549055bd429e | |
parent | 75d54b80ed9b0af7ef743967d0e40bd3c97b1cf8 (diff) | |
download | prosody-9902388da51adb2435012a64fe06757d4cef97b9.tar.gz prosody-9902388da51adb2435012a64fe06757d4cef97b9.zip |
mod_storage_memory: Remove compat for very early argument order
-rw-r--r-- | plugins/mod_storage_memory.lua | 3 |
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 }) |