Merge pull request #628 from ikruglov/fix-googledomains-warning
fix warning "Argument "googledomains" isnt numeric in numeric eq (==)
This commit is contained in:
commit
28bb7d076a
1 changed files with 2 additions and 2 deletions
|
@ -2733,7 +2733,7 @@ sub get_ip {
|
|||
$skip = opt('web-skip', $h) // '';
|
||||
|
||||
if (exists $builtinweb{$url}) {
|
||||
warning("googledomains is deprecated! See https://github.com/ddclient/ddclient/issues/622 for more info.") if ($url == 'googledomains');
|
||||
warning("googledomains is deprecated! See https://github.com/ddclient/ddclient/issues/622 for more info.") if ($url eq 'googledomains');
|
||||
|
||||
$skip = $builtinweb{$url}->{'skip'} unless $skip;
|
||||
$url = $builtinweb{$url}->{'url'};
|
||||
|
@ -3327,7 +3327,7 @@ sub get_ipv6 {
|
|||
$url = $arg;
|
||||
$skip = opt('webv6-skip', $h) // '';
|
||||
if (exists $builtinweb{$url}) {
|
||||
warning("googledomains is deprecated! See https://github.com/ddclient/ddclient/issues/622 for more info.") if ($url == 'googledomains');
|
||||
warning("googledomains is deprecated! See https://github.com/ddclient/ddclient/issues/622 for more info.") if ($url eq 'googledomains');
|
||||
|
||||
$skip = $builtinweb{$url}->{'skip'} unless $skip;
|
||||
$url = $builtinweb{$url}->{'url'};
|
||||
|
|
Loading…
Reference in a new issue