From 4979ba0aaf8d088ae317fbd0751f184dc34f428f Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Wed, 8 Jul 2020 19:28:36 +0200 Subject: [PATCH] ipinfo.cgi: Fix calling get_continent_code(). This function is provided by the Location perl module and directly can be called. Signed-off-by: Stefan Schantl --- html/cgi-bin/ipinfo.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/ipinfo.cgi b/html/cgi-bin/ipinfo.cgi index 0bbb96330a..978488cb16 100644 --- a/html/cgi-bin/ipinfo.cgi +++ b/html/cgi-bin/ipinfo.cgi @@ -66,7 +66,7 @@ if (&General::validip($addr)) { my $ccode = &Location::Functions::lookup_country_code($db_handle, $addr); # Try to get the continent of the country code. - my $continent = &Location::Functions::get_continent_code($db_handle, $ccode); + my $continent = &Location::get_continent_code($db_handle, $ccode); # Check if a whois server for the continent is known. if($whois_servers_by_continent{$continent}) { -- 2.39.5