diff src/log.c @ 5554:7b36d02031a2

[gaim-migrate @ 5955] More work done... Got some painful stuff to do now. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 30 May 2003 00:00:48 +0000
parents 80e4ba770f97
children b7319c094153
line wrap: on
line diff
--- a/src/log.c	Thu May 29 23:44:44 2003 +0000
+++ b/src/log.c	Fri May 30 00:00:48 2003 +0000
@@ -241,7 +241,7 @@
 	FILE *fd;
 	int flag = 0;
 
-	if (((is_chat == 2) && !(logging_options & OPT_LOG_INDIVIDUAL))
+	if (((is_chat == 2) && !gaim_prefs_get_bool("/gaim/gtk/logging/individual_logs"))
 		|| ((is_chat == 1) && !gaim_prefs_get_bool("/gaim/gtk/logging/log_chats"))
 		|| ((is_chat == 0) && !gaim_prefs_get_bool("/gaim/gtk/logging/log_ims"))) {
 
@@ -255,7 +255,7 @@
 		fd = fopen(l->filename, "a");
 
 		if (flag) {	/* is a new file */
-			if (logging_options & OPT_LOG_STRIP_HTML) {
+			if (gaim_prefs_get_bool("/gaim/gtk/logging/strip_html")) {
 				fprintf(fd, _("IM Sessions with %s\n"), name);
 			} else {
 				fprintf(fd, "<HTML><HEAD><TITLE>");
@@ -271,7 +271,7 @@
 	fd = open_gaim_log_file(realname, &flag);
 
 	if (fd && flag) {	/* is a new file */
-		if (logging_options & OPT_LOG_STRIP_HTML) {
+		if (gaim_prefs_get_bool("/gaim/gtk/logging/strip_html")) {
 			fprintf(fd, _("IM Sessions with %s\n"), name);
 		} else {
 			fprintf(fd, "<HTML><HEAD><TITLE>");