Again trying to fix hilight

This commit is contained in:
Jeremiah Ticket 2019-01-09 19:41:39 +00:00
parent 19f0b048f8
commit 15165e32b5

View File

@ -242,7 +242,6 @@ my $window = Irssi::active_server();
$window->{refnum} != $dest->{window}->{refnum})) { $window->{refnum} != $dest->{window}->{refnum})) {
return; return;
} }
}
if (my $hilightcmd = Irssi::settings_get_str("hilight_sound_command")) { if (my $hilightcmd = Irssi::settings_get_str("hilight_sound_command")) {
if ($flood_protect) { if ($flood_protect) {
my $sound_flood = Irssi::settings_get_int('sound_flood'); my $sound_flood = Irssi::settings_get_int('sound_flood');
@ -254,6 +253,7 @@ $window->{refnum} != $dest->{window}->{refnum})) {
} }
} }
} }
}
#add settings and defaults #add settings and defaults
Irssi::settings_add_bool("lookandfeel", "sounds", 1); Irssi::settings_add_bool("lookandfeel", "sounds", 1);