mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-20 05:52:24 +00:00
Merge branch 'MHSanaei:main' into main
This commit is contained in:
commit
28ce980cb9
1 changed files with 1 additions and 1 deletions
2
x-ui.sh
2
x-ui.sh
|
@ -1400,7 +1400,7 @@ iplimit_main() {
|
||||||
3)
|
3)
|
||||||
confirm "Proceed with Unbanning everyone from IP Limit jail?" "y"
|
confirm "Proceed with Unbanning everyone from IP Limit jail?" "y"
|
||||||
if [[ $? == 0 ]]; then
|
if [[ $? == 0 ]]; then
|
||||||
fail2ban-client reload --restart --unban 3x-ipl
|
fail2ban-client set 3x-ipl unban --all
|
||||||
truncate -s 0 "${iplimit_banned_log_path}"
|
truncate -s 0 "${iplimit_banned_log_path}"
|
||||||
echo -e "${green}All users Unbanned successfully.${plain}"
|
echo -e "${green}All users Unbanned successfully.${plain}"
|
||||||
iplimit_main
|
iplimit_main
|
||||||
|
|
Loading…
Reference in a new issue