Mon, 04 Jan 2016 17:08:12 +0000
geoip: Correctly set location
geoip.lua | file | annotate | diff | comparison | revisions |
--- a/geoip.lua Mon Jan 04 17:07:51 2016 +0000 +++ b/geoip.lua Mon Jan 04 17:08:12 2016 +0000 @@ -27,7 +27,7 @@ if location.country_name then table.insert(l, location.country_name); end - conn.location = table.concat(l, ", "); + info.conn.location = table.concat(l, ", "); else log("debug", "Failed to find location for IP %q: %s", tostring(ip), tostring(err)); end