Browse Source

Fix x-ui.sh bug #778

Hamidreza 1 năm trước cách đây
mục cha
commit
8050330e2e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      x-ui.sh

+ 1 - 1
x-ui.sh

@@ -788,7 +788,7 @@ iplimit_main() {
         2)
             read -rp "Please enter new Ban Duration in Minutes [default 5]: " NUM
             if [[ $NUM =~ ^[0-9]+$ ]]; then
-                create_iplimit_jail ${NUM}
+                create_iplimit_jails ${NUM}
                 systemctl restart fail2ban
             else
                 echo -e "${red}${NUM} is not a number! Please, try again.${plain}"