From b6d1df73148ebf5f8e6fa9cbf203fd8186090a16 Mon Sep 17 00:00:00 2001 From: Thomas Zilz Date: Mon, 22 May 2017 14:55:42 +0200 Subject: [PATCH 1/2] Update dnsbl.js fix typo --- plugins/rcpt/dnsbl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/rcpt/dnsbl.js b/plugins/rcpt/dnsbl.js index 84b196d..154f49d 100644 --- a/plugins/rcpt/dnsbl.js +++ b/plugins/rcpt/dnsbl.js @@ -7,7 +7,7 @@ module.exports = { // module dependencies var net = require('net'); var dns = require('native-dns'); - var Adress6 = require('ip-address').Address6; + var Address6 = require('ip-address').Address6; // skip the check if the sender is authenticated if (req.session.accepted.auth) { @@ -43,7 +43,7 @@ module.exports = { } else if (net.isIPv6(ip)) { - reversed = new Address6(ip).reverseForm({omitSuffix: true}); + reversed = new Address6(ip).reverseForm({ omitSuffix: true }); } From 9a5a382782d3fb0b67104598736de6c3e238f726 Mon Sep 17 00:00:00 2001 From: Thomas Zilz Date: Mon, 22 May 2017 14:58:41 +0200 Subject: [PATCH 2/2] bump package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 11e2f3f..405d3b9 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "mail-io", "description": "SMTP server", "author": "Thomas Zilz", - "version": "1.0.12", + "version": "1.0.13", "main": "lib/server.js", "scripts": { "test": "mocha"