Skip to content

Commit f3bb38f

Browse files
committed
GeoIP: fix for DB refresh
1 parent dacd54f commit f3bb38f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Base/Apus.GeoIP.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ TCountry=record
125125
result:='??';
126126
if initialized=0 then exit;
127127
// too old -> reload?
128-
if now>initialized+1 then InitGeoIP(lastPath);
128+
if now>initialized+1 then TryLoadDB(lastPath);
129129
ip:=ntohl(ip);
130130
crSect.Enter;
131131
try

0 commit comments

Comments
 (0)