Mercurial > pidgin.yaz
diff src/buddy_chat.c @ 3219:639960efc6ff
[gaim-migrate @ 3236]
They convinced me to make it compile before committing.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 06 May 2002 17:05:14 +0000 |
parents | 80d20a257a36 |
children | e13e569299ae |
line wrap: on
line diff
--- a/src/buddy_chat.c Mon May 06 16:50:06 2002 +0000 +++ b/src/buddy_chat.c Mon May 06 17:05:14 2002 +0000 @@ -722,7 +722,8 @@ } if ((flag & WFLAG_RECV) && find_nick(b->gc, message)) { - play_sound(SND_CHAT_NICK); + if (b->makesound && !(sound_options & OPT_SOUND_CHAT_SAY)) + play_sound(SND_CHAT_NICK); flag |= WFLAG_NICK; } write_to_conv(b, message, flag, who, mtime, -1);