From 2742016b4d2cee475b5e353cdbdea7c3666e894b Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sun, 6 Aug 2017 22:28:41 -0700 Subject: [PATCH] corrected config path to always_ok setting --- Changes.md | 5 +++++ index.js | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Changes.md b/Changes.md index c7d1892..fa61c0f 100644 --- a/Changes.md +++ b/Changes.md @@ -1,3 +1,8 @@ + +## 1.0.3 - 2017-08-06 + +- corrected config path to always_ok setting + ## 1.0.2 - 2017-07-30 - declare booleans in config.get diff --git a/index.js b/index.js index 7e93bc9..22a9856 100644 --- a/index.js +++ b/index.js @@ -101,7 +101,7 @@ exports.syslog = function (next, logger, log) { syslog.log(syslog.LOG_DEBUG, log.data); } - if (plugin.cfg.always_ok) { + if (plugin.cfg.general.always_ok) { next(constants.OK); return; } diff --git a/package.json b/package.json index ddc0fe7..c40fcff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "haraka-plugin-syslog", - "version": "1.0.2", + "version": "1.0.3", "description": "Haraka plugin that logs to syslog", "main": "index.js", "scripts": {