projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6acf8ce
)
Don't check users on bursting servers against blacklists.
author
ThiefMaster
<thiefmaster@gamesurge.net>
Wed, 13 Jun 2007 16:24:54 +0000
(18:24 +0200)
committer
Michael Poole
<mdpoole@troilus.org>
Fri, 27 Jul 2007 01:39:06 +0000
(21:39 -0400)
src/mod-blacklist.c
patch
|
blob
|
history
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];
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;
/* Users with bogus IPs are probably service bots. */
if (!irc_in_addr_is_valid(user->ip))
return 0;