Fix double spoken messages, hopefully.
This commit is contained in:
parent
95a6cb845a
commit
68ed5b4769
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user