Locate cake haters more precisely. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit bc453e1f76f883fc140fffb129a6b75bcc14a81f DIR parent 7c3041872a4968da5d7ab73064927f3023417556 HTML Author: Annna Robert-Houdin <annna@bitreich.org> 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(-) --- DIR 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."