Changeset

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 3371:68842409f4e7
children 3373:322e8e7ba7d4
files mod_register_web/mod_register_web.lua
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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 = {