comparison src/server.c @ 3523:82180bb28f1f

[gaim-migrate @ 3596] some memleak fixes. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 16 Sep 2002 19:50:52 +0000
parents f3981f94494a
children 6f9610016503
comparison
equal deleted inserted replaced
3522:62bef830ce61 3523:82180bb28f1f
689 * it (if it does exist it was updated earlier), then play a sound indicating we've 689 * it (if it does exist it was updated earlier), then play a sound indicating we've
690 * received it and then display it. easy. */ 690 * received it and then display it. easy. */
691 691
692 if (new_conv && (sound_options & OPT_SOUND_FIRST_RCV)) 692 if (new_conv && (sound_options & OPT_SOUND_FIRST_RCV))
693 play_sound(SND_FIRST_RECEIVE); 693 play_sound(SND_FIRST_RECEIVE);
694 else if (cnv->makesound) 694 else if (cnv && cnv->makesound)
695 play_sound(SND_RECEIVE); 695 play_sound(SND_RECEIVE);
696 696
697 if (away_options & OPT_AWAY_QUEUE_UNREAD && !find_conversation(name)) { 697 if (away_options & OPT_AWAY_QUEUE_UNREAD && !find_conversation(name)) {
698 /* We're gonna queue it up and wait for the user to ask for it... probably 698 /* We're gonna queue it up and wait for the user to ask for it... probably
699 * by clicking the docklet or windows tray icon. */ 699 * by clicking the docklet or windows tray icon. */