mirror of https://github.com/sumx86/AbuseIPDB.git
Update abuseip.php
This commit is contained in:
parent
1410fba416
commit
8c28ac13e0
|
@ -121,10 +121,9 @@ function parse_options( int $argc, array $argv ) : object
|
||||||
if( $arg_N == ARGS[0] && $arg_V != "" ) { $api_key = $arg_V; }
|
if( $arg_N == ARGS[0] && $arg_V != "" ) { $api_key = $arg_V; }
|
||||||
if( $arg_N == ARGS[1] ) { $verbose = True; }
|
if( $arg_N == ARGS[1] ) { $verbose = True; }
|
||||||
}
|
}
|
||||||
|
|
||||||
$opts['api_key'] = $api_key;
|
$opts['api_key'] = $api_key;
|
||||||
$opts['verbose'] = $verbose;
|
$opts['verbose'] = $verbose;
|
||||||
|
|
||||||
return (object) $opts;
|
return (object) $opts;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue