Fixed adding, modifying and fetching TTS filters.

This commit is contained in:
Tom
2025-01-16 01:12:49 +00:00
parent 5fc1b5f942
commit b8de9532e2
4 changed files with 26 additions and 6 deletions

View File

@ -56,7 +56,7 @@ namespace TwitchChatTTS.Hermes.Socket.Handlers
{
try
{
var re = new Regex(filter.Search!, RegexOptions.Compiled);
var re = new Regex(filter.Search!, ((RegexOptions) filter.Flag) | RegexOptions.Compiled);
re.Match(string.Empty);
filter.Regex = re;
}