From 16b665d22582374da011380383715b252bb8f68f Mon Sep 17 00:00:00 2001 From: "PC1\\PTyTb" Date: Sat, 16 Aug 2025 23:19:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D1=84=D0=B8=D0=BA=D1=81=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D0=B8=20=D1=80=D0=B0=D0=BD=D0=B4=D0=BE=D0=BC=D0=BD=D1=8B?= =?UTF-8?q?=D0=B9=20=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- forms/uGeneral.pas | 2 +- frames/fOBS.pas | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/forms/uGeneral.pas b/forms/uGeneral.pas index 578a320..04c0ad7 100644 --- a/forms/uGeneral.pas +++ b/forms/uGeneral.pas @@ -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; diff --git a/frames/fOBS.pas b/frames/fOBS.pas index 3939901..e027db4 100644 --- a/frames/fOBS.pas +++ b/frames/fOBS.pas @@ -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('listNotify', listNotify); Break;