• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonbathyscaphephpgamewindowsguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

ギコナビ


Commit MetaInfo

Revision53746ee036e102538c36d4154098adb7bd658059 (tree)
Time2011-02-22 22:50:31
Authorh677 <h677>
Commiterh677

Log Message

Folder.iniに冒険の書が記録されている場合削除してから投稿するように修正

Change Summary

Incremental Difference

--- a/Editor.pas
+++ b/Editor.pas
@@ -1196,6 +1196,10 @@ begin
11961196 Board.SPID := '';
11971197 Board.PON := '';
11981198 end;
1199+ // –`Œ¯‚̏‘ƒŒƒxƒ‹–ß‚é–â‘è‘Ήž
1200+ if (Board.Is2ch) and (AnsiPos('HAP=', Board.Cookie)>0) then begin
1201+ Board.Cookie := '';
1202+ end;
11991203 Send(Board.Cookie, Board.SPID, Board.PON, True);
12001204 end else begin
12011205 if not FSambaTimer.CheckSambaTime(Now()) then begin
@@ -1224,6 +1228,10 @@ begin
12241228 Board.SPID := '';
12251229 Board.PON := '';
12261230 end;
1231+ // –`Œ¯‚̏‘ƒŒƒxƒ‹–ß‚é–â‘è‘Ήž
1232+ if (Board.Is2ch) and (AnsiPos('HAP=', Board.Cookie)>0) then begin
1233+ Board.Cookie := '';
1234+ end;
12271235 Send(Board.Cookie, Board.SPID, Board.PON, True);
12281236 end;
12291237 end;
@@ -1939,9 +1947,7 @@ begin
19391947 end;
19401948 for i := 0 to curCookies.Count - 1 do begin
19411949 if (curCookies.Strings[i] <> '') then begin
1942- if (AnsiPos(VAL_HAP + '=', curCookies.Strings[i]) <> 1 ) then begin
1943- ABoard.Cookie := ABoard.Cookie + curCookies.Strings[i] + '; ';
1944- end;
1950+ ABoard.Cookie := ABoard.Cookie + curCookies.Strings[i] + '; ';
19451951 end;
19461952 end;
19471953 finally
@@ -2457,7 +2463,8 @@ end;
24572463 function TEditorForm.getHeaderStr(const ACOOKIE: string; const SPID : string;
24582464 const PON : string; const HAP : string; Board : TBoard) : string;
24592465 begin
2460- Result := ACOOKIE;
2466+ Result := ACOOKIE;
2467+
24612468 if SPID <> '' then
24622469 Result := Result + 'SPID=' + SPID + '; ';
24632470 if PON <> '' then