mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 13:32:24 +00:00
clear banned log after unban everyone
This commit is contained in:
parent
820e302aac
commit
4b9bbbc34b
1 changed files with 1 additions and 0 deletions
1
x-ui.sh
1
x-ui.sh
|
@ -970,6 +970,7 @@ iplimit_main() {
|
|||
confirm "Proceed with Unbanning everyone from IP Limit jail?" "y"
|
||||
if [[ $? == 0 ]]; then
|
||||
fail2ban-client reload --restart --unban 3x-ipl
|
||||
truncate -s 0 "${iplimit_banned_log_path}"
|
||||
echo -e "${green}All users Unbanned successfully.${plain}"
|
||||
iplimit_main
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue