mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
Never beep with texts with MSGLEVEL_NOHILIGHT level.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@556 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
1fca5f1c7b
commit
7d3e27370d
@ -690,7 +690,8 @@ static char *get_server_tag(TEXT_DEST_REC *dest)
|
||||
|
||||
static void msg_beep_check(SERVER_REC *server, int level)
|
||||
{
|
||||
if (level != 0 && (beep_msg_level & level) &&
|
||||
if (level != 0 && (level & MSGLEVEL_NOHILIGHT) == 0 &&
|
||||
(beep_msg_level & level) &&
|
||||
(beep_when_away || (server != NULL && !server->usermode_away))) {
|
||||
printbeep();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user