Changeset 560 for trunk


Ignore:
Timestamp:
12/17/13 16:34:45 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Nuisance cleanup; make sure the new boolean option usecache accepts
the same values as the other booleans

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r559 r560  
    242242
    243243  # Several settings are booleans.  Handle multiple possible ways of setting them.
    244   for my $boolopt ('log_failures', 'force_refresh', 'lowercase') {
     244  for my $boolopt ('log_failures', 'force_refresh', 'lowercase', 'usecache') {
    245245    if ($self->{$boolopt} ne '1' && $self->{$boolopt} ne '0') {
    246246      # true/false, on/off, yes/no all valid.
Note: See TracChangeset for help on using the changeset viewer.