Mercurial > pidgin
changeset 3225:bd66e16f9250
[gaim-migrate @ 3242]
What... is... wrong... with... me...?
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 06 May 2002 19:07:00 +0000 |
parents | b4c9646792f0 |
children | aba6ee7f8aba |
files | src/buddy_chat.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy_chat.c Mon May 06 18:25:14 2002 +0000 +++ b/src/buddy_chat.c Mon May 06 19:07:00 2002 +0000 @@ -719,12 +719,14 @@ g_free(str); } - if (flag & WFLAG_RECV && b->makesound) { - if (sound_options & OPT_SOUND_CHAT_NICK) + if (flag & WFLAG_RECV && b->makesound) + { + if (sound_options & OPT_SOUND_CHAT_NICK && find_nick(b->gc, message)) play_sound(SND_CHAT_NICK); else play_sound(SND_CHAT_SAY); - flag |= WFLAG_NICK; + if(find_nick(b->gc, message)) + flag |= WFLAG_NICK; } write_to_conv(b, message, flag, who, mtime, -1); }