# HG changeset patch
# User Sean Egan <seanegan@gmail.com>
# Date 1070747926 0
# Node ID 7ab3d01d2c5081939db466aef7a690db9a246869
# Parent  de9a47ff006a8a05c1081f1e12a0ea385d954187
[gaim-migrate @ 8425]
This should obey the logging preferences.

committer: Tailor Script <tailor@pidgin.im>

diff -r de9a47ff006a -r 7ab3d01d2c50 src/conversation.c
--- 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);