пофиксил изменения и рандомный пользователь

This commit is contained in:
PC1\PTyTb 2025-08-16 23:19:05 +03:00
parent fd1c6b6bb8
commit 16b665d225
2 changed files with 2 additions and 1 deletions

View File

@ -1435,7 +1435,7 @@ begin
else
begin
randomize;
RandomUserName := '@' + userlist[random(userlist.Count - 1)].login;
RandomUserName := '@' + userlist[random(userlist.Count)].login;
end;
res := StringReplace(res, '[RANDOMUSER]', RandomUserName, [rfReplaceAll]);
end;

View File

@ -720,6 +720,7 @@ for I := 0 to EventWebServers.Count - 1 do
ws.se.BorderColor :=listNotify[i].ColorBorder;
ws.se.BorderSize := listNotify[i].SolidBorder;
ws.se.BlockColor := listNotify[i].ColorBlock;
EventWebServers[mi]:=ws;
UpdateGridFromArray;
db.SaveRecordArray<TOBSNotify>('listNotify', listNotify);
Break;