Software /
code /
prosody-modules
Comparison
mod_http_upload/mod_http_upload.lua @ 2444:3e9f9cef9c0e
mod_http_upload: Add missing semicolon
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 16 Jan 2017 01:44:38 +0100 |
parent | 2443:7f9ff36dc8d5 |
child | 2445:e822900c87d4 |
comparison
equal
deleted
inserted
replaced
2443:7f9ff36dc8d5 | 2444:3e9f9cef9c0e |
---|---|
37 | 37 |
38 -- namespace | 38 -- namespace |
39 local xmlns_http_upload = "urn:xmpp:http:upload"; | 39 local xmlns_http_upload = "urn:xmpp:http:upload"; |
40 | 40 |
41 -- identity and feature advertising | 41 -- identity and feature advertising |
42 module:add_identity("store", "file", module:get_option_string("name", "HTTP File Upload")) | 42 module:add_identity("store", "file", module:get_option_string("name", "HTTP File Upload")); |
43 module:add_feature(xmlns_http_upload); | 43 module:add_feature(xmlns_http_upload); |
44 | 44 |
45 module:add_extension(dataform { | 45 module:add_extension(dataform { |
46 { name = "FORM_TYPE", type = "hidden", value = xmlns_http_upload }, | 46 { name = "FORM_TYPE", type = "hidden", value = xmlns_http_upload }, |
47 { name = "max-file-size", type = "text-single" }, | 47 { name = "max-file-size", type = "text-single" }, |