OSDN Git Service

スレたてをsubbbs.cgiからbbs.cgiに変更を2ちゃんねるに限定
authorh677 <h677>
Thu, 30 Dec 2004 07:06:30 +0000 (07:06 +0000)
committerh677 <h677>
Thu, 30 Dec 2004 07:06:30 +0000 (07:06 +0000)
BoardGroup.pas

index bd1d395..268cc42 100644 (file)
@@ -1210,8 +1210,16 @@ end;
 
 // \83X\83\8c\97§\82Ä\91\97\90MURL
 function TBoard.GetSendURL: string;
+var
+       Protocol, Host, Path, Document, Port, Bookmark : string;
 begin
-       Result := GikoSys.UrlToServer(URL) + 'test/bbs.cgi';
+    Result := GikoSys.UrlToServer(URL);
+    GikoSys.ParseURI( URL, Protocol,Host, Path, Document, Port, Bookmark );
+    if GikoSys.Is2chHost(Host) then
+        Result := Result + 'test/bbs.cgi'
+    else
+        Result := Result + 'test/subbbs.cgi';
+
 end;
 
 procedure TBoard.SetRound(b: Boolean);