fix
This commit is contained in:
parent
87c9c30853
commit
2e89c04dc5
@ -1,7 +1,6 @@
|
||||
#!/bin/bash
|
||||
FIREWALL="/opt/firewall/firewall.sh"
|
||||
ACCESS="/tmp/minute.log"
|
||||
echo "module-nostr"
|
||||
IP=($(grep $2 $ACCESS | grep "/block=" | cut -d '=' -f2 | cut -d ' ' -f1 | sed 's/"//'))
|
||||
for i in "${IP[@]}"; do
|
||||
if [[ "$i" == *"npub"* ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user