Mercurial > pidgin.yaz
comparison src/buddy_chat.c @ 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 |
comparison
equal
deleted
inserted
replaced
3224:b4c9646792f0 | 3225:bd66e16f9250 |
---|---|
717 flag |= WFLAG_RECV; | 717 flag |= WFLAG_RECV; |
718 } | 718 } |
719 g_free(str); | 719 g_free(str); |
720 } | 720 } |
721 | 721 |
722 if (flag & WFLAG_RECV && b->makesound) { | 722 if (flag & WFLAG_RECV && b->makesound) |
723 if (sound_options & OPT_SOUND_CHAT_NICK) | 723 { |
724 if (sound_options & OPT_SOUND_CHAT_NICK && find_nick(b->gc, message)) | |
724 play_sound(SND_CHAT_NICK); | 725 play_sound(SND_CHAT_NICK); |
725 else | 726 else |
726 play_sound(SND_CHAT_SAY); | 727 play_sound(SND_CHAT_SAY); |
727 flag |= WFLAG_NICK; | 728 if(find_nick(b->gc, message)) |
729 flag |= WFLAG_NICK; | |
728 } | 730 } |
729 write_to_conv(b, message, flag, who, mtime, -1); | 731 write_to_conv(b, message, flag, who, mtime, -1); |
730 } | 732 } |
731 | 733 |
732 | 734 |