From: Darren Date: Sun, 21 Jul 2013 22:49:50 +0000 (+0100) Subject: DNSBL: Include blocked address in error log X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1f1050e48d3f8fed7f8e475f9f977a94a4dc96a3;p=KiwiIRC.git DNSBL: Include blocked address in error log --- 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);