改行バグを修正

This commit is contained in:
konkon-fox 2023-10-27 22:25:07 +09:00
parent ea43aea341
commit e49bf63389
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;
}
// コマンド文字列から新スレタイを抽出