projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b54ef9a
)
DNSBL: Include blocked address in error log
author
Darren
<darren@darrenwhitlen.com>
Sun, 21 Jul 2013 22:49:50 +0000
(23:49 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Sun, 21 Jul 2013 22:49:50 +0000
(23:49 +0100)
server_modules/dnsbl.js
patch
|
blob
|
blame
|
history
diff --git
a/server_modules/dnsbl.js
b/server_modules/dnsbl.js
index 984c0b4ea8f3c68aa9bdb6c40ceba02bdce80b0f..d0f6639e344b68d6e428c8a9ee53f727f9121e00 100644
(file)
--- 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);