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:
parent
fdb57e148c
commit
5aa56a08f9
@ -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)) &&
|
||||
|
Loading…
Reference in New Issue
Block a user