diff src/conversation.c @ 7780:7ab3d01d2c50

[gaim-migrate @ 8425] This should obey the logging preferences. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 06 Dec 2003 21:58:46 +0000
parents 8df31c1aca4a
children f9df510460d7
line wrap: on
line diff
--- a/src/conversation.c	Sat Dec 06 21:55:22 2003 +0000
+++ b/src/conversation.c	Sat Dec 06 21:58:46 2003 +0000
@@ -1434,8 +1434,9 @@
 			}
 		}
 	}
-
-	gaim_log_write(conv->log, flags, who, mtime, message);
+	
+	if (gaim_conversation_is_logging(conv))
+		gaim_log_write(conv->log, flags, who, mtime, message);
 	ops->write_conv(conv, who, message, flags, mtime);
 
 	win = gaim_conversation_get_window(conv);