Skip to content

Commit

Permalink
Facebook lookups. Fixes #112 (#113)
Browse files Browse the repository at this point in the history
Passing the `source` param to the iirc client for Facebook whois
lookups.
  • Loading branch information
ajwgibson authored Nov 17, 2023
1 parent f13a213 commit 7afce62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/legitbot/facebook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Facebook < BotMatch

ip_ranges do
client = Irrc::Client.new
client.query :radb, AS
client.query :radb, AS, source: :radb
results = client.perform

%i[ipv4 ipv6].map do |family|
Expand Down

0 comments on commit 7afce62

Please sign in to comment.