https://bugs.contribs.org/show_bug.cgi?id=10815

Jean-Philippe Pialasse <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #9 from Jean-Philippe Pialasse <[email protected]> ---
Oh, yes you are right

    if ( $self->qp->config("badcountries") ) {
        my @badcountries = $self->qp->config("badcountries");

        my $country = $self->qp->connection->notes('geoip_country');
        # Returns DECLINED if there are no countries found above
        return DECLINED unless $country;

        $self->log(LOGNOTICE, "GeoIP Country: $country");


should be

    $self->log(LOGNOTICE, "GeoIP Country: $country");
    if ( $self->qp->config("badcountries") ) {
        my @badcountries = $self->qp->config("badcountries");

        my $country = $self->qp->connection->notes('geoip_country');
        # Returns DECLINED if there are no countries found above
        return DECLINED unless $country;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to