Permalink
Browse files

rdns.regexp: added startup deprecation warning

  • Loading branch information...
1 parent 2b220c2 commit d261ae90187ff4a8a37f7f73f1cbed0fe87ca0df @msimerson msimerson committed Dec 27, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 plugins/rdns.regexp.js
View
@@ -5,6 +5,9 @@
// to using the new connect.rdns_access plugin, as this plugin is now deprecated
// and may be removed in a future version of Haraka.
+exports.register = function () {
+ this.logwarn("NOTICE: deprecated, use 'connect.rdns_access' instead!");
+}
exports.hook_connect = function (next, connection) {
var deny_list = this.config.get('rdns.deny_regexps', 'list');

0 comments on commit d261ae9

Please sign in to comment.