mirror of
https://github.com/pavel-odintsov/fastnetmon.git
synced 2024-09-21 10:27:13 +00:00
Update notify_about_attack.sh
This commit is contained in:
parent
3b9701ba14
commit
d674e7d76c
@ -37,7 +37,7 @@ if [ "$4" = "ban" ]; then
|
||||
fi
|
||||
|
||||
# Advanced edition does not use this action and passes all details in ban action
|
||||
if [ "$4" == "attack_details" ]; then
|
||||
if [ "$4" = "attack_details" ]; then
|
||||
cat | mail -s "FastNetMon Guard: IP $1 blocked because $2 attack with power $3 pps" $email_notify;
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user