From: Sean E. <sea...@us...> - 2002-05-06 19:07:05
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv27385/src Modified Files: buddy_chat.c Log Message: What... is... wrong... with... me...? Index: buddy_chat.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/buddy_chat.c,v retrieving revision 1.147 retrieving revision 1.148 diff -u -d -r1.147 -r1.148 --- buddy_chat.c 6 May 2002 18:25:14 -0000 1.147 +++ buddy_chat.c 6 May 2002 19:07:00 -0000 1.148 @@ -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); } |