Changeset 754


Ignore:
Timestamp:
06/01/17 17:45:48 (7 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix another stupid typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r753 r754  
    13911391  # or the intended parent domain for live records.
    13921392  my $pname = ($args{defrec} eq 'y' ? 'DOMAIN' : $self->domainName($args{id}));
    1393   ${$args{host}} =~ s/\.*$/\.$pname/ if (${$args{host}} ne '@' && ${$args{host}} !~ /$pname$/i); 
    1394 
    1395   # don't do the cache thing on default records
    1396   return ('OK','OK') if $defrec ne 'n';
     1393  ${$args{host}} =~ s/\.*$/\.$pname/ if (${$args{host}} ne '@' && ${$args{host}} !~ /$pname$/i);
     1394
     1395  # Only do the cache thing on live/active records
     1396  return ('OK','OK') unless $args{defrec} eq 'n';
    13971397
    13981398  # now we check/update the cached target address info
Note: See TracChangeset for help on using the changeset viewer.