mirror of https://github.com/calzoneman/sync.git
Minor fix to tor blocker
This commit is contained in:
parent
4ad22308a0
commit
f4c05b736b
|
@ -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…
Reference in New Issue