projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Author: A1kmm <a1kmm@mware.virtualave.net> by way of Ghostwolf <foxxe@wtfs.net>
[ircu2.10.12-pk.git]
/
ircd
/
s_bsd.c
diff --git
a/ircd/s_bsd.c
b/ircd/s_bsd.c
index 08c451161ee7ae208b9370656e098e1dfd00a5a3..d807f2b4680439dffdb1cfbbc539500ffe231a5c 100644
(file)
--- a/
ircd/s_bsd.c
+++ b/
ircd/s_bsd.c
@@
-626,11
+626,12
@@
void add_connection(struct Listener* listener, int fd) {
*
* If they're throttled, murder them, but tell them why first.
*/
*
* If they're throttled, murder them, but tell them why first.
*/
- if (!IPcheck_local_connect(addr.sin_addr, &next_target) && !listener->server) {
+ if (!IPcheck_local_connect(addr.sin_addr, &next_target) && !listener->server)
+ {
++ServerStats->is_ref;
++ServerStats->is_ref;
-
write(fd, throttle_message, strlen(throttle_message));
-
close(fd);
-
return;
+ write(fd, throttle_message, strlen(throttle_message));
+ close(fd);
+ return;
}
new_client = make_client(0, ((listener->server) ?
}
new_client = make_client(0, ((listener->server) ?