aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2021-01-26 14:00:04 -0600
committerMark Felder <feld@feld.me>2021-01-26 14:00:04 -0600
commit617ec6348312b95e13a558f3480adda0c517aca5 (patch)
tree0bae5465807bc438184a0d944aa90a70d39af66d /lib
parent00828731fbe041ea4442db3140d92f025139fc73 (diff)
downloadpleroma-617ec6348312b95e13a558f3480adda0c517aca5.tar.gz
Makes more sense to call it rblzone
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/activity_pub/mrf/dns_rbl_policy.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/activity_pub/mrf/dns_rbl_policy.ex b/lib/pleroma/web/activity_pub/mrf/dns_rbl_policy.ex
index 0f1eaa94f..fc963a782 100644
--- a/lib/pleroma/web/activity_pub/mrf/dns_rbl_policy.ex
+++ b/lib/pleroma/web/activity_pub/mrf/dns_rbl_policy.ex
@@ -31,7 +31,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.DnsRblPolicy do
# -- irrespective of the actual hostname/IP used to reach it -- we need to know this as all queries
# are nested under the zone. e.g., if you're checking the status of pleroma.host you are querying for:
# dig @nameserverip pleroma.host.bl.pleroma.com. in A
- rblzone = rblconfig[:zone] || rblhost
+ rblzone = rblconfig[:rblzone] || rblhost
# concatenate the host we're checking with the zone, e.g., "pleroma.host" <> . <> "bl.pleroma.com" <> .
# trim off duplicate trailing period in case it was supplied in the config.
@@ -98,7 +98,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.DnsRblPolicy do
suggestions: ["53"]
},
%{
- key: :zone,
+ key: :rblzone,
type: {:string},
description:
"Zone for querying, if unable to detect because nameserver is an IP address",