From b8ffe4767f9d722bb32f37d2e1fd86100f939a33 Mon Sep 17 00:00:00 2001 From: somebodywashere <68244480+somebodywashere@users.noreply.github.com> Date: Tue, 20 Jun 2023 13:33:58 +0300 Subject: [PATCH] Update x-ui.sh Co-authored-by: Ho3ein --- x-ui.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/x-ui.sh b/x-ui.sh index 60e6a931..89028cd0 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -823,9 +823,12 @@ remove_iplimit(){ esac echo -e "${green}Fail2ban and IP Limit removed successfully!${plain}\n" before_show_menu ;; - *) + 0) echo -e "${yellow}Cancelled.${plain}\n" iplimit_main ;; + *) + echo -e "${red}Invalid option. Please select a valid number.${plain}\n" + remove_iplimit ;; esac }