1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05: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:
Timo Sirainen 2000-07-31 15:36:40 +00:00 committed by cras
parent 1fca5f1c7b
commit 7d3e27370d

View File

@ -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();
}