Fix double spoken messages, hopefully.

This commit is contained in:
Jeremiah Ticket 2023-10-06 09:49:51 -06:00
parent 95a6cb845a
commit 68ed5b4769

View File

@ -78,6 +78,7 @@ if ((Irssi::settings_get_bool('speak_all_public_messages')) == 1) {
# Notify the user about the incoming public message: # Notify the user about the incoming public message:
speak_message("Message from $nick/$tag on $target:", $body); speak_message("Message from $nick/$tag on $target:", $body);
return;
} }
# Check whether to notify the user about indirect messages: # Check whether to notify the user about indirect messages:
elsif ((Irssi::settings_get_bool('speak_indirect_messages')) == 0) { elsif ((Irssi::settings_get_bool('speak_indirect_messages')) == 0) {