Remove list.dsbl.org
The dnsbl list at list.dsbl.org is defunct. Also: a Ruby 1.9 compatiblity tweak for Maruku.
This commit is contained in:
parent
f062dfe15a
commit
e33ccad293
|
@ -22,7 +22,7 @@ require 'resolv'
|
||||||
|
|
||||||
module DNSBL_Check
|
module DNSBL_Check
|
||||||
$dnsbl_passed ||= []
|
$dnsbl_passed ||= []
|
||||||
DNSBLS = %w{list.dsbl.org bl.spamcop.net sbl-xbl.spamhaus.org}
|
DNSBLS = %w{bl.spamcop.net sbl-xbl.spamhaus.org}
|
||||||
|
|
||||||
private
|
private
|
||||||
# Filter to check if the client is listed. This will be run before all requests.
|
# Filter to check if the client is listed. This will be run before all requests.
|
||||||
|
|
|
@ -122,7 +122,7 @@ class CharSourceManual
|
||||||
|
|
||||||
def consume_whitespace
|
def consume_whitespace
|
||||||
while c = cur_char
|
while c = cur_char
|
||||||
if (c == 32 || c == ?\t)
|
if (c == ?\s || c == ?\t)
|
||||||
# puts "ignoring #{c}"
|
# puts "ignoring #{c}"
|
||||||
ignore_char
|
ignore_char
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue