Fix kick behavior

This commit is contained in:
calzoneman 2014-10-25 22:49:22 -05:00
parent 5d74559278
commit 575b762ba1
3 changed files with 3 additions and 4 deletions

View file

@ -334,7 +334,6 @@ Channel.prototype.acceptUser = function (user) {
if (user.socket._isUsingTor) {
if (this.modules.options && this.modules.options.get("torbanned")) {
user.kick("This channel has banned connections from Tor.");
user.socket.disconnect(true);
this.logger.log("[login] Blocked connection from Tor exit at " +
user.displayip);
return;