Comparison

mod_dnsupdate/mod_dnsupdate.lua @ 4882:28f6322fad50

mod_dnsupdate: Fix typo
author Kim Alvefur <zash@zash.se>
date Fri, 04 Feb 2022 16:25:23 +0100
parent 4779:6395d4732bc6
child 4896:54fa2116bbf3
comparison
equal deleted inserted replaced
4881:09b8144051ea 4882:28f6322fad50
50 module:log("error", "Host %q fails normalization", arg[1]); 50 module:log("error", "Host %q fails normalization", arg[1]);
51 return 1; 51 return 1;
52 end 52 end
53 local ihost = idna_to_ascii(vhost); 53 local ihost = idna_to_ascii(vhost);
54 if not ihost then 54 if not ihost then
55 module:log("error", "Host %q falis IDNA", vhost); 55 module:log("error", "Host %q fails IDNA", vhost);
56 return 1; 56 return 1;
57 end 57 end
58 local is_component = config.get(vhost, "component_module"); 58 local is_component = config.get(vhost, "component_module");
59 if not is_component and not config.get(vhost, "defined") then 59 if not is_component and not config.get(vhost, "defined") then
60 module:log("error", "Host %q is not defined in the config", vhost); 60 module:log("error", "Host %q is not defined in the config", vhost);