Fix kick behavior
This commit is contained in:
parent
5d74559278
commit
575b762ba1
3 changed files with 3 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue