Revert sound.pl because the "fix" broke it.
This commit is contained in:
		
							
								
								
									
										4
									
								
								sound.pl
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								sound.pl
									
									
									
									
									
								
							@@ -43,7 +43,7 @@ sub pri_msg {
 | 
			
		||||
# The sound playing function for nick mensioning message
 | 
			
		||||
#--------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
sub hilight_msg {
 | 
			
		||||
sub nick_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 hilight_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", "hilight_msg");
 | 
			
		||||
Irssi::signal_add_last("message hilight", "nick_msg");
 | 
			
		||||
#- end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user