blob: 9033873fde7427afe7d036683210204814b3643d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- ddclient.old 2011-11-13 10:14:59.957846596 -0500
+++ ddclient 2011-11-13 10:18:33.864245944 -0500
@@ -773,7 +773,7 @@
foreach my $h (sort keys %config) {
next if $config{$h}{'protocol'} ne lc($s);
$examined{$h} = 1;
- my $use = $config{$h}{'use'} || opt('use');
+ my $use = opt('use') || $config{$h}{'use'};
local $opt{$use} = $config{$h}{$use} if $config{$h}{$use};
# bug #13: we should only do this once
# use isn't enough, we have to save the origin to.
|