Fixed cloudflare cache not updating properly

This commit is contained in:
Samuel Bailey 2020-02-05 19:41:46 +00:00
parent 89c2230ada
commit c491927569

View file

@ -4651,9 +4651,9 @@ sub nic_cloudflare_update {
}
# Cache
$config{$key}{'ip'} = $ip;
$config{$key}{'mtime'} = $now;
$config{$key}{'status'} = 'good';
$config{$domain}{'ip'} = $ip;
$config{$domain}{'mtime'} = $now;
$config{$domain}{'status'} = 'good';
}
}
}