Diff

mod_http_upload/mod_http_upload.lua @ 2477:c32ca5ad2539

mod_http_upload: Fix typo
author Kim Alvefur <zash@zash.se>
date Sun, 29 Jan 2017 19:18:49 +0100
parent 2476:024a4143baef
child 2478:1fae2a0a4092
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua	Sun Jan 29 19:14:47 2017 +0100
+++ b/mod_http_upload/mod_http_upload.lua	Sun Jan 29 19:18:49 2017 +0100
@@ -90,7 +90,7 @@
 	repeat random = random_hex(12);
 	until lfs.mkdir(join_path(storage_path, random)) or not lfs.attributes(join_path(storage_path, random, filename))
 
-	datamanager.list_apppend(origin.username, origin.host, module.name, { filename = join_path(storage_path, random, filename), size = filesize, time = os.time() });
+	datamanager.list_append(origin.username, origin.host, module.name, { filename = join_path(storage_path, random, filename), size = filesize, time = os.time() });
 	pending_slots[random.."/"..filename] = origin.full_jid;
 	local base_url = module:http_url();
 	local slot_url = url.parse(base_url);