changeset 1721:15096a01cd23

[gaim-migrate @ 1731] Just a little fix. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Mon, 16 Apr 2001 17:04:15 +0000
parents 2ebbbffb043d
children 1edc8b545d6f
files src/server.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/server.c	Sun Apr 15 22:49:22 2001 +0000
+++ b/src/server.c	Mon Apr 16 17:04:15 2001 +0000
@@ -362,7 +362,8 @@
 			return;
 		}
 		if (cnv != NULL) {
-			play_sound(RECEIVE);
+			if (cnv->makesound && (sound_options & OPT_SOUND_RECV))
+				play_sound(RECEIVE);
 			write_to_conv(cnv, message, away | WFLAG_RECV, NULL);
 		}