set default limitIp value

This commit is contained in:
Hossin Asaadi
2022-11-02 05:26:09 -04:00
committed by GitHub
parent 375835e42a
commit 91e416b436

View File

@@ -1215,7 +1215,7 @@ Inbound.VLESSSettings = class extends Inbound.Settings {
};
Inbound.VLESSSettings.VLESS = class extends XrayCommonClass {
constructor(id=RandomUtil.randomUUID(), flow=FLOW_CONTROL.DIRECT, email='', limitIp) {
constructor(id=RandomUtil.randomUUID(), flow=FLOW_CONTROL.DIRECT, email='', limitIp=0) {
super();
this.id = id;
this.flow = flow;