# HG changeset patch # User Kim Alvefur # Date 1485713929 -3600 # Node ID c32ca5ad253907feabb917e8c37688b018fb1761 # Parent 024a4143baeff7dd409beeaf642333a643f4539d mod_http_upload: Fix typo diff -r 024a4143baef -r c32ca5ad2539 mod_http_upload/mod_http_upload.lua --- 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);