Software /
code /
prosody-modules
Diff
mod_invites_page/mod_invites_page.lua @ 6227:dfdf0bf1e84f
mod_invites_page: Remove compatibility with 0.11
author | Link Mauve <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 09 Apr 2025 19:05:14 +0200 |
parent | 5630:efdaffc878a9 |
child | 6232:d72010642b31 |
child | 6234:d68e640e76ad |
line wrap: on
line diff
--- a/mod_invites_page/mod_invites_page.lua Wed Apr 09 19:05:06 2025 +0200 +++ b/mod_invites_page/mod_invites_page.lua Wed Apr 09 19:05:14 2025 +0200 @@ -33,12 +33,7 @@ -- Load HTTP-serving dependencies if prosody.shutdown then -- not if running under prosodyctl module:depends("http"); - - if prosody.process_type == "prosody" then - http_files = require "net.http.files"; - else - http_files = module:depends"http_files"; - end + http_files = require "net.http.files"; elseif prosody.process_type and module.get_option_period then module:depends("http"); http_files = require "net.http.files";