Mercurial > pidgin.yaz
changeset 3226:aba6ee7f8aba
[gaim-migrate @ 3243]
Attempt #11. This got embarrassing at attempt 3 -- now it's just ludicrous.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 06 May 2002 19:17:14 +0000 |
parents | bd66e16f9250 |
children | 671667425d27 |
files | src/buddy_chat.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy_chat.c Mon May 06 19:07:00 2002 +0000 +++ b/src/buddy_chat.c Mon May 06 19:17:14 2002 +0000 @@ -715,20 +715,20 @@ flag |= WFLAG_SEND; } else { flag |= WFLAG_RECV; + if (find_nick(g->gc, message)) + flag |= WFLAG_NICK; } g_free(str); } - if (flag & WFLAG_RECV && b->makesound) - { - if (sound_options & OPT_SOUND_CHAT_NICK && find_nick(b->gc, message)) + if (flag & WFLAG_RECV && b->makesound) { + if (flags & WFLAG_NICK && (sound_options & OPT_SOUND_CHAT_NICK)) { play_sound(SND_CHAT_NICK); - else + } else { play_sound(SND_CHAT_SAY); - if(find_nick(b->gc, message)) - flag |= WFLAG_NICK; + } } - write_to_conv(b, message, flag, who, mtime, -1); + write_to_conv(b, message, flag, who, mtime, -1); }