mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-16 04:22:06 +00:00
Minor fix to tor blocker
This commit is contained in:
parent
4ad22308a0
commit
f4c05b736b
1 changed files with 1 additions and 0 deletions
|
|
@ -281,6 +281,7 @@ Server.prototype.handleSocketConnection = function (socket) {
|
||||||
});
|
});
|
||||||
Logger.syslog.log("Blocked Tor IP: " + ip);
|
Logger.syslog.log("Blocked Tor IP: " + ip);
|
||||||
socket.disconnect(true);
|
socket.disconnect(true);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(ip in self.ipThrottle)) {
|
if (!(ip in self.ipThrottle)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue