OSDN Git Service

最小送信バイト数の設定を追加(主にポカミス防止用 ToDo ID=380)
[winbottle/winbottle.git] / bottleclient / MainForm.pas
index 7fbc879..a834d9d 100755 (executable)
@@ -724,6 +724,12 @@ begin
     Exit;
   end;
 
+  if Length(Talk) < Pref.MinScriptLength then
+  begin
+    MessageDlg('\8dÅ\8f¬\91\97\90M\83o\83C\83g\90\94\88È\89º\82Å\82·\81B', mtError, [mbOk], 0);
+    Exit;
+  end;
+
   if not Pref.NoConfirm then begin
     if not SendConfirmDialog(FNowChannel, cbxTargetGhost.Text) then Exit;
   end;