diff mod_register_web/mod_register_web.lua @ 3372:866167118d23

mod_register_web: Add soft dependency on mod_register_limits (0.11+)
author Kim Alvefur <zash@zash.se>
date Wed, 07 Nov 2018 17:49:27 +0100
parents d631fd9a3300
children f9a93d7b6c50
line wrap: on
line diff
--- a/mod_register_web/mod_register_web.lua	Wed Nov 07 12:38:03 2018 +0000
+++ b/mod_register_web/mod_register_web.lua	Wed Nov 07 17:49:27 2018 +0100
@@ -7,6 +7,10 @@
 local json = require "util.json".decode;
 local t_concat = table.concat;
 
+pcall(function ()
+	module:depends("register_limits");
+end);
+
 module:depends"http";
 
 local extra_fields = {