sms antispam message
This commit is contained in:
parent
3e0f689dd3
commit
849162d8ba
|
@ -70,7 +70,7 @@ if [[ "$CMD" != "DELIVERED" && "$CMD" != "PENDING" ]]; then
|
||||||
if [[ -f "/tmp/sms_received_$PHONE" ]]; then
|
if [[ -f "/tmp/sms_received_$PHONE" ]]; then
|
||||||
# Send response SMS
|
# Send response SMS
|
||||||
if [[ ! -f "/tmp/sms_SPAM_$PHONE" ]]; then
|
if [[ ! -f "/tmp/sms_SPAM_$PHONE" ]]; then
|
||||||
sms_ERROR "$PHONE" "Je ne le dirai pas 2 fois... Laissez moi au moins 1 minute entre chacune de vos commandes SMS! Autrement je n'y répondrai pas. Merci!"
|
sms_ERROR "$PHONE" "Je ne le dirai pas 2 fois... Espacez de 1 minute chacune de vos commandes SMS! Autrement je n'y répondrai pas. Merci!"
|
||||||
echo $(date) > "/tmp/sms_SPAM_$PHONE"
|
echo $(date) > "/tmp/sms_SPAM_$PHONE"
|
||||||
fi
|
fi
|
||||||
log "__SUB:security: ################################"
|
log "__SUB:security: ################################"
|
||||||
|
|
Loading…
Reference in New Issue