comparison mod_invite/mod_invite.lua @ 2239:df696c8d5282

mod_invite: Add explicit dependency on mod_adhoc to make sure it is loaded
author Kim Alvefur <zash@zash.se>
date Fri, 08 Jul 2016 23:57:20 +0200
parents dc4e77824318
children 967ba25edf58
comparison
equal deleted inserted replaced
2238:dc4e77824318 2239:df696c8d5282
13 local invite_storage = module:open_store(); 13 local invite_storage = module:open_store();
14 local inviter_storage = module:open_store("inviter"); 14 local inviter_storage = module:open_store("inviter");
15 15
16 local serve = module:depends"http_files".serve; 16 local serve = module:depends"http_files".serve;
17 17
18 module:depends"adhoc";
18 module:depends"http"; 19 module:depends"http";
19 20
20 local function apply_template(template, args) 21 local function apply_template(template, args)
21 return 22 return
22 template:gsub("{{([^}]*)}}", function (k) 23 template:gsub("{{([^}]*)}}", function (k)