Fix GeoIP add_headers() return code
This commit is contained in:
parent
fd11777892
commit
ffefb6b1ec
@ -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