Merge pull request #155 from jaredj/fix-geoip-return-code
Fix GeoIP add_headers() return code
This commit is contained in:
commit
0399d631d7
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user