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:
-rw-r--r--x-ui.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/x-ui.sh b/x-ui.sh
index 20336c18..c7331e6d 100644
--- a/x-ui.sh
+++ b/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