Skip to content

Commit eac9777

Browse files
Fix
1 parent 583df9e commit eac9777

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/abstractplay.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4169,6 +4169,9 @@ function applyMove(userid: string, move: string, engine: GameBase, game: FullGam
41694169
}
41704170

41714171
function isInterestingComment(comment: string): boolean {
4172+
if (!comment || comment.trim().length === 0) {
4173+
return false;
4174+
}
41724175
// Normalize the comment
41734176
const normalized = comment.toLowerCase().trim();
41744177

0 commit comments

Comments
 (0)