Fix unknown ip to be unknown place in cookie hater location. - annna - Annna the nice friendly bot. (HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ (DIR) Log (DIR) Files (DIR) Refs (DIR) Tags (DIR) README --- (DIR) commit 8e6ae12822aa4b2768b974c5acd13234689509b4 (DIR) parent 924fc8a50647ff03d4a5d94664d704261eeeded7 (HTM) Author: Annna Robert-Houdin <annna@bitreich.org> 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(-) --- (DIR) 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."