Commit 9cc20f6c authored by Reiner Steib's avatar Reiner Steib
Browse files

Use dns-query instead of query-dns. Was renamed on 2008-12-25 in dns.el.

parent 4dc5a19d
2009-04-28 Reiner Steib <Reiner.Steib@gmx.de>
* spam.el: Use dns-query instead of query-dns. Was renamed on
2008-12-25 in dns.el.
2009-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
* rfc2047.el (rfc2047-decode-region): Don't skip past `start', which
......
......@@ -73,8 +73,8 @@
(autoload 'gnus-registry-store-extra-entry "gnus-registry")
(autoload 'gnus-registry-fetch-extra "gnus-registry")
;; autoload query-dns
(autoload 'query-dns "dns")
;; autoload dns-query
(autoload 'dns-query "dns")
;;}}}
......@@ -173,7 +173,7 @@ The regular expression is matched against the address."
:group 'spam)
(defcustom spam-use-dig t
"Whether `query-dig' should be used instead of `query-dns'."
"Whether `query-dig' should be used instead of `dns-query'."
:type 'boolean
:group 'spam)
......@@ -2038,9 +2038,9 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details."
(push (list ip server query-result)
matches)))
;; else, if not using dig.el
(when (query-dns query-string)
(when (dns-query query-string)
(gnus-message 6 "positive blackhole check")
(push (list ip server (query-dns query-string 'TXT))
(push (list ip server (dns-query query-string 'TXT))
matches)))))))))
(when matches
spam-split-group)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment