projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't check users on bursting servers against blacklists.
[srvx.git]
/
src
/
mod-blacklist.c
diff --git
a/src/mod-blacklist.c
b/src/mod-blacklist.c
index cfaeb5d300a46ba5975136fcc65aa556cbc280ad..5c39a1e05138fd020dc6f16526f5bc8685f2bcd5 100644
(file)
--- a/
src/mod-blacklist.c
+++ b/
src/mod-blacklist.c
@@
-166,6
+166,10
@@
blacklist_check_user(struct userNode *user)
char ip[IRC_NTOP_MAX_SIZE];
char dnsbl_target[128];
+ /* Users added during burst should not be checked. */
+ if (user->uplink->burst)
+ return 0;
+
/* Users with bogus IPs are probably service bots. */
if (!irc_in_addr_is_valid(user->ip))
return 0;