ギコナビ
Revisão | 53746ee036e102538c36d4154098adb7bd658059 (tree) |
---|---|
Hora | 2011-02-22 22:50:31 |
Autor | h677 <h677> |
Commiter | h677 |
Folder.iniに冒険の書が記録されている場合削除してから投稿するように修正
@@ -1196,6 +1196,10 @@ begin | ||
1196 | 1196 | Board.SPID := ''; |
1197 | 1197 | Board.PON := ''; |
1198 | 1198 | end; |
1199 | + // `¯ÌxßéâèÎ | |
1200 | + if (Board.Is2ch) and (AnsiPos('HAP=', Board.Cookie)>0) then begin | |
1201 | + Board.Cookie := ''; | |
1202 | + end; | |
1199 | 1203 | Send(Board.Cookie, Board.SPID, Board.PON, True); |
1200 | 1204 | end else begin |
1201 | 1205 | if not FSambaTimer.CheckSambaTime(Now()) then begin |
@@ -1224,6 +1228,10 @@ begin | ||
1224 | 1228 | Board.SPID := ''; |
1225 | 1229 | Board.PON := ''; |
1226 | 1230 | end; |
1231 | + // `¯ÌxßéâèÎ | |
1232 | + if (Board.Is2ch) and (AnsiPos('HAP=', Board.Cookie)>0) then begin | |
1233 | + Board.Cookie := ''; | |
1234 | + end; | |
1227 | 1235 | Send(Board.Cookie, Board.SPID, Board.PON, True); |
1228 | 1236 | end; |
1229 | 1237 | end; |
@@ -1939,9 +1947,7 @@ begin | ||
1939 | 1947 | end; |
1940 | 1948 | for i := 0 to curCookies.Count - 1 do begin |
1941 | 1949 | 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] + '; '; | |
1945 | 1951 | end; |
1946 | 1952 | end; |
1947 | 1953 | finally |
@@ -2457,7 +2463,8 @@ end; | ||
2457 | 2463 | function TEditorForm.getHeaderStr(const ACOOKIE: string; const SPID : string; |
2458 | 2464 | const PON : string; const HAP : string; Board : TBoard) : string; |
2459 | 2465 | begin |
2460 | - Result := ACOOKIE; | |
2466 | + Result := ACOOKIE; | |
2467 | + | |
2461 | 2468 | if SPID <> '' then |
2462 | 2469 | Result := Result + 'SPID=' + SPID + '; '; |
2463 | 2470 | if PON <> '' then |