Possibly fixed security vulnerability with messages being spoken with special characters.

This commit is contained in:
Storm Dragon 2023-10-07 14:05:11 -04:00
parent 7f85b4f3f6
commit 3e703f526f

View File

@ -46,7 +46,7 @@ sub speak_message {
my $SpeechVoice = Irssi::settings_get_str("speech_voice");
my $SpeechModule = Irssi::settings_get_str("speech_module");
# Speak The Message
system("spd-say -P notification -y $SpeechVoice -r $SpeechRate -o $SpeechModule \"$summary $body\"&");
system("spd-say -P notification -y $SpeechVoice -r $SpeechRate -o $SpeechModule -- \"$summary $body\"&");
}
# Handle incoming public messages: