Software /
code /
prosody-modules
Changeset
6278:fd765cdf20ff
mod_invites_page: rename variables to keep consistant style
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Sun, 01 Jun 2025 16:35:52 +0700 |
parents | 6277:e22c550003bb |
children | 6279:b92aea4e7ff4 |
files | mod_invites_page/mod_invites_page.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_invites_page/mod_invites_page.lua Sun Jun 01 16:25:41 2025 +0700 +++ b/mod_invites_page/mod_invites_page.lua Sun Jun 01 16:35:52 2025 +0700 @@ -94,10 +94,10 @@ return rendered_apps; end -local templatePath = module:get_option_string("invites_template_html", "html"); +local template_path = module:get_option_string("invites_page_template_path", "html"); local function template_get(filename, lang) - local template = lang and templatePath.."/"..filename.."."..lang..".html" - or templatePath.."/"..filename..".html"; + local template = lang and template_path.."/"..filename.."."..lang..".html" + or template_path.."/"..filename..".html"; return assert(module:load_resource(template):read("*a")); end