1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

beep check: don't beep with NO_ACT message level rather than NOHILIGHT since

NOHILIGHT is sent with public messages and someone may want to beep when
they're received.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1543 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-06-10 20:21:03 +00:00 committed by cras
parent fdb57e148c
commit 5aa56a08f9

View File

@ -356,7 +356,7 @@ void printtext_gui(const char *text)
static void msg_beep_check(TEXT_DEST_REC *dest)
{
if (dest->level != 0 && (dest->level & MSGLEVEL_NOHILIGHT) == 0 &&
if (dest->level != 0 && (dest->level & MSGLEVEL_NO_ACT) == 0 &&
(beep_msg_level & dest->level) &&
(beep_when_away || (dest->server != NULL &&
!dest->server->usermode_away)) &&