Skip to content

Commit

Permalink
register rdns_access on connect_init (#28)
Browse files Browse the repository at this point in the history
This plugin defines rdns_access whitelist which is used by other plugins such as fcrdns , but fcrdns hooks on connect_init which would happen *before* this one, so it can't make use of the whitelist/blacklist functionality that this plugin provides
  • Loading branch information
polarismail authored Apr 9, 2024
1 parent 2fe8181 commit d3db45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exports.register = function () {
for (p in plugin.cfg.re.black) { plugin.load_re_file('black', p); }

if (plugin.cfg.check.conn) {
plugin.register_hook('connect', 'rdns_access');
plugin.register_hook('connect_init', 'rdns_access');
}
if (plugin.cfg.check.helo) {
plugin.register_hook('helo', 'helo_access');
Expand Down

0 comments on commit d3db45d

Please sign in to comment.