From 2cea7c7fd8d8a2d1c341673bdb6ac86432802fa6 Mon Sep 17 00:00:00 2001 From: Jeremiah Ticket Date: Tue, 23 Aug 2016 15:33:26 -0800 Subject: [PATCH] An attempt to fix storm_dragon's nick bug where it'd play the hilight sound on the word nick. --- sound.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound.pl b/sound.pl index 37bdb03..006145b 100755 --- a/sound.pl +++ b/sound.pl @@ -43,7 +43,7 @@ sub pri_msg { # The sound playing function for nick mensioning message #-------------------------------------------------------------------- -sub nick_msg { +sub hilight_msg { my ($server,$msg,$nick,$address,$target) = @_; system("play -qn -V0 synth 0.5 tri A3:D3 tri D3:A3 remix - &"); } @@ -54,6 +54,6 @@ sub nick_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 hilight", "nick_msg"); +Irssi::signal_add_last("message hilight", "hilight_msg"); #- end