Merge pull request '!chttの改行バグを修正' (#38) from konkon-fox/delightly-v2fork:main into main

Reviewed-on: #38
This commit is contained in:
統計部員2 2023-10-28 02:16:58 +09:00
commit 9bfe8cab24
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ function applyChttCommand(
if(strpos($_POST['comment'], '!chtt:') === false) {
return;
}
if(!preg_match('/\!chtt:(.+?)((?=\<br\>)|$)/', $_POST['comment'], $commandMatches)) {
if(!preg_match('/\!chtt:(.*?)((?=\<br\>)|$)/', $_POST['comment'], $commandMatches)) {
return;
}
// コマンド文字列から新スレタイを抽出