Revert sound.pl because the "fix" broke it.

This commit is contained in:
Jeremiah Ticket 2016-08-23 15:42:04 -08:00
parent 2cea7c7fd8
commit 36323fe887

View File

@ -43,7 +43,7 @@ sub pri_msg {
# The sound playing function for nick mensioning message # The sound playing function for nick mensioning message
#-------------------------------------------------------------------- #--------------------------------------------------------------------
sub hilight_msg { sub nick_msg {
my ($server,$msg,$nick,$address,$target) = @_; my ($server,$msg,$nick,$address,$target) = @_;
system("play -qn -V0 synth 0.5 tri A3:D3 tri D3:A3 remix - &"); system("play -qn -V0 synth 0.5 tri A3:D3 tri D3:A3 remix - &");
} }
@ -54,6 +54,6 @@ sub hilight_msg {
Irssi::signal_add("beep", "nick_msg");Irssi::signal_add_last("message public", "pub_msg"); Irssi::signal_add("beep", "nick_msg");Irssi::signal_add_last("message public", "pub_msg");
Irssi::signal_add_last("message private", "pri_msg"); Irssi::signal_add_last("message private", "pri_msg");
Irssi::signal_add_last("message hilight", "hilight_msg"); Irssi::signal_add_last("message hilight", "nick_msg");
#- end #- end