diff options
author | Timo Sirainen <cras@irssi.org> | 2001-06-10 20:21:03 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-06-10 20:21:03 +0000 |
commit | 5aa56a08f9e7e709f5e669cdd4fe1d587715821e (patch) | |
tree | 38cb7874c012c28e9c64929088dd1e04e412d098 /src | |
parent | fdb57e148c882b8798e60b86211f8d4ec2b60847 (diff) | |
download | irssi-5aa56a08f9e7e709f5e669cdd4fe1d587715821e.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/printtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/printtext.c b/src/fe-common/core/printtext.c index 3bc7a85b..70e88be3 100644 --- a/src/fe-common/core/printtext.c +++ b/src/fe-common/core/printtext.c @@ -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)) && |