src/buddy_chat.c

changeset 3227
a7f54558d0bd
parent 3226
911cf5e8bf57
child 3228
30699bcad51e
--- a/src/buddy_chat.c	Mon May 06 19:17:14 2002 +0000
+++ b/src/buddy_chat.c	Mon May 06 19:30:04 2002 +0000
@@ -722,7 +722,7 @@
 	}
 
 	if (flag & WFLAG_RECV && b->makesound) {
-		if (flags & WFLAG_NICK && (sound_options & OPT_SOUND_CHAT_NICK)) {
+		if (flag & WFLAG_NICK && (sound_options & OPT_SOUND_CHAT_NICK)) {
 			play_sound(SND_CHAT_NICK);
 		} else {
 			play_sound(SND_CHAT_SAY);

mercurial