changeset 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 de9a47ff006a
children 2176fef95d9b
files src/conversation.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
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);