Changeset

9533:00a8e627854e

mod_storage_memory: Remove compat for very early argument order
author Kim Alvefur <zash@zash.se>
date Sun, 21 Oct 2018 17:58:50 +0200
parents 9532:9bb33edd7255
children 9534:b301f7edf346
files plugins/mod_storage_memory.lua
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_storage_memory.lua	Sun Oct 21 16:18:10 2018 +0100
+++ b/plugins/mod_storage_memory.lua	Sun Oct 21 17:58:50 2018 +0200
@@ -42,9 +42,6 @@
 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 })