Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHamidreza <70919649+hamid-gh98@users.noreply.github.com>2023-07-19 12:04:38 +0300
committerGitHub <noreply@github.com>2023-07-19 12:04:38 +0300
commit8050330e2e997ac7d0da54d3d18edc3e63392ad3 (patch)
tree57f0b688973d91d8d2ceef8667ccb8656013f8c9
parent65e35c17113d2f3cee06f583b28cb4b762ff186a (diff)
Fix x-ui.sh bug #778
-rw-r--r--x-ui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/x-ui.sh b/x-ui.sh
index fc328f8e..c2b6f5ff 100644
--- a/x-ui.sh
+++ b/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}"