checkChatSpam brackets bug fix