fix: log > ban ip address, not working with AM/PM time locale

This commit is contained in:
Massimo Melina 2020-05-30 17:28:43 +02:00
parent df5fa09ba9
commit 8be3ff6331

View File

@ -11258,7 +11258,7 @@ if pt.x < 0 then
if pt.y >= logbox.lines.count then
exit;
s:=logbox.lines[pt.y];
s:=reGet(s, '^\S+ +(\S+@)?(\S+):\d+ ', 2);
s:=reGet(s, '.+ (\S+@)?(\S+):\d+ ', 2);
if checkAddressSyntax(s,FALSE) then
result:=s;
end; // ipPointedInLog