From cac57d25a992343975ed8966ca559085ffc9fe08 Mon Sep 17 00:00:00 2001 From: Dalibor Nasevic Date: Wed, 6 Nov 2024 23:55:33 +0100 Subject: [PATCH] Run rdns_access callback on connect hook (connect_init ignores return codes) (#35) revert #28 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b2dd632..c029897 100644 --- a/index.js +++ b/index.js @@ -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')