Skip to content

Commit cac57d2

Browse files
authored
Run rdns_access callback on connect hook (connect_init ignores return codes) (#35)
revert #28
1 parent 3edd51e commit cac57d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ exports.register = function () {
2020
}
2121

2222
if (this.cfg.check.conn) {
23-
this.register_hook('connect_init', 'rdns_access')
23+
this.register_hook('connect', 'rdns_access')
2424
}
2525
if (this.cfg.check.helo) {
2626
this.register_hook('helo', 'helo_access')

0 commit comments

Comments
 (0)