Update to mystic 112a48

This commit is contained in:
Mario Fetka
2023-01-18 20:41:49 +01:00
parent a9a657ae1c
commit d326546e67
3 changed files with 6 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ if [ $BAN_UNBAN_ENABLE = "true" ]; then
if [ $DO_BAN = "unban" ]; then
/usr/bin/fail2ban-client set mysticbbs unbanip ${BAN_IP}
if [ $BAN_UNBAN_MYSTIC = "true" ]; then
sed -e "/${BAN_IP}/d" -i ${MYSTIC_DIR}/data/blacklist.txt
sed -e "/${BAN_IP}/d" -i ${MYSTIC_DIR}/data/denylist.txt
fi
fi
fi
@@ -51,7 +51,7 @@ if [ $BAN_UNBAN_ENABLE = "true" ]; then
if [ $DO_BAN = "unban" ]; then
echo ${BAN_IP} >> /opt/ipban/unban.txt
if [ $BAN_UNBAN_MYSTIC = "true" ]; then
sed -e "/${BAN_IP}/d" -i ${MYSTIC_DIR}/data/blacklist.txt
sed -e "/${BAN_IP}/d" -i ${MYSTIC_DIR}/data/denylist.txt
fi
fi
fi