Merge pull request #155 from jaredj/fix-geoip-return-code

Fix GeoIP add_headers() return code
This commit is contained in:
Matt Simerson 2014-11-17 12:26:19 -08:00
commit 0399d631d7

View File

@ -218,6 +218,7 @@ sub add_headers {
$txn->header->delete("X-GeoIP-$h"); $txn->header->delete("X-GeoIP-$h");
$txn->header->add( "X-GeoIP-$h", $self->connection->notes($note), 0 ); $txn->header->add( "X-GeoIP-$h", $self->connection->notes($note), 0 );
} }
return DECLINED;
} }
sub geoip2_lookup { sub geoip2_lookup {