Fix unknown ip to be unknown place in cookie hater location. - annna - Annna th… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 8e6ae12822aa4b2768b974c5acd13234689509b4 | |
parent 924fc8a50647ff03d4a5d94664d704261eeeded7 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Tue, 9 Mar 2021 20:27:28 +0100 | |
Fix unknown ip to be unknown place in cookie hater location. | |
Diffstat: | |
M locate-cake-hater | 5 +++++ | |
1 file changed, 5 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/locate-cake-hater b/locate-cake-hater | |
@@ -20,5 +20,10 @@ then | |
country="somewhere unknown" | |
fi | |
+if [ "${country}" = "geoip-country-edition:-ip-address-not-found" ]; | |
+then | |
+ country="somewhere unknown" | |
+fi | |
+ | |
annna-say -c "#bitreich-tv" "$ip:$port cake hater from $country appeared." | |