forked from circlecloud/tera
@@ -852,6 +852,9 @@ export default class CTransport extends CConnect {
|
||||
this.CanSend++
|
||||
return;
|
||||
}
|
||||
if (global.NET_WORK_MODE && global.NET_WORK_MODE.NOT_RUN) {
|
||||
return;
|
||||
}
|
||||
let SELF = this;
|
||||
this.Server = net.createServer(function(sock: any) {
|
||||
if (SELF.WasBanIP({ address: sock.remoteAddress })) {
|
||||
|
||||
Reference in New Issue
Block a user