Introduction
Introduction Statistics Contact Development Disclaimer Help
Locate cake haters more precisely. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit bc453e1f76f883fc140fffb129a6b75bcc14a81f
parent 7c3041872a4968da5d7ab73064927f3023417556
Author: Annna Robert-Houdin <[email protected]>
Date: Sat, 22 May 2021 20:39:06 +0200
Locate cake haters more precisely.
Diffstat:
M locate-cake-hater | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/locate-cake-hater b/locate-cake-hater
@@ -20,10 +20,11 @@ then
country="somewhere unknown"
fi
-if [ "${country}" = "geoip-country-edition:-ip-address-not-found" ];
-then
+case "${country}" in
+geoip-country-*)
country="somewhere unknown"
-fi
+ ;;
+esac
annna-say -c "#bitreich-tv" "$ip:$port cake hater from $country appeared."
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.