Software / code / prosody-modules
Diff
mod_register_apps/mod_register_apps.lua @ 5673:0eb2d5ea2428
merge
| author | Stephen Paul Weber <singpolyma@singpolyma.net> |
|---|---|
| date | Sat, 06 May 2023 19:40:23 -0500 |
| parent | 5178:556bf57d6417 |
| child | 5740:e06af1403a60 |
line wrap: on
line diff
--- a/mod_register_apps/mod_register_apps.lua Wed Feb 22 22:47:45 2023 -0500 +++ b/mod_register_apps/mod_register_apps.lua Sat May 06 19:40:23 2023 -0500 @@ -1,7 +1,7 @@ -- luacheck: ignore 631 module:depends("http"); local http_files -if prosody.process_type == "prosody" then +if prosody.process_type then -- Prosody >= 0.12 http_files = require "net.http.files"; else