remove unused var
This commit is contained in:
parent
c61dbb5734
commit
4eba2a39bc
@ -126,8 +126,6 @@ sub register {
|
|||||||
$self->{_args} = {@args};
|
$self->{_args} = {@args};
|
||||||
$self->{_args}{db_dir} ||= '/usr/local/share/GeoIP';
|
$self->{_args}{db_dir} ||= '/usr/local/share/GeoIP';
|
||||||
|
|
||||||
my $loaded = 0;
|
|
||||||
|
|
||||||
eval 'use GeoIP2::Database::Reader';
|
eval 'use GeoIP2::Database::Reader';
|
||||||
if (!$@) {
|
if (!$@) {
|
||||||
warn "using GeoIP2";
|
warn "using GeoIP2";
|
||||||
|
Loading…
Reference in New Issue
Block a user