From 1f1050e48d3f8fed7f8e475f9f977a94a4dc96a3 Mon Sep 17 00:00:00 2001 From: Darren Date: Sun, 21 Jul 2013 23:49:50 +0100 Subject: [PATCH] DNSBL: Include blocked address in error log --- server_modules/dnsbl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server_modules/dnsbl.js b/server_modules/dnsbl.js index 984c0b4..d0f6639 100644 --- a/server_modules/dnsbl.js +++ b/server_modules/dnsbl.js @@ -26,7 +26,7 @@ module.on('irc connecting', function (event, event_data) { isBlacklisted(client_addr, function(is_blocked) { if (is_blocked) { - var err = new Error('DNSBL blocked'); + var err = new Error('DNSBL blocked (' + client_addr + ')'); err.code = 'Blacklisted'; event_data.connection.emit('error', err); -- 2.25.1