Skip to content

Commit

Permalink
Run rdns_access callback on connect hook (connect_init ignores return…
Browse files Browse the repository at this point in the history
… codes) (#35)

revert #28
  • Loading branch information
dalibor authored Nov 6, 2024
1 parent 3edd51e commit cac57d2
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 @@ -20,7 +20,7 @@ exports.register = function () {
}

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

0 comments on commit cac57d2

Please sign in to comment.