diff src/server.c @ 1525:ba8e6e211af5

[gaim-migrate @ 1535] icqlib updates. beginnings of system logging. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 03 Mar 2001 00:26:04 +0000
parents 4c62ead808a2
children 5e54c7a2a394
line wrap: on
line diff
--- a/src/server.c	Fri Mar 02 23:59:49 2001 +0000
+++ b/src/server.c	Sat Mar 03 00:26:04 2001 +0000
@@ -448,7 +448,7 @@
 			cv = (struct conversation *)cnv->data;
 			if (!strcasecmp(who, normalize(cv->name))) {
 				g_snprintf(cv->name, sizeof(cv->name), "%s", name);
-				if (find_log_info(name) || (general_options & OPT_GEN_LOG_ALL))
+				if (find_log_info(name) || (logging_options & OPT_LOG_ALL))
 					 g_snprintf(who, 63, LOG_CONVERSATION_TITLE, name);
 				else
 					g_snprintf(who, 63, CONVERSATION_TITLE, name);
@@ -637,7 +637,7 @@
 	b->history = g_string_new("");
 	g_snprintf(b->name, 80, "%s", name);
 
-	if ((general_options & OPT_GEN_LOG_ALL) || find_log_info(b->name)) {
+	if ((logging_options & OPT_LOG_ALL) || find_log_info(b->name)) {
 		FILE *fd;
 		char *filename;
 
@@ -645,7 +645,7 @@
 		g_snprintf(filename, 100, "%s.chat", b->name);
 
 		fd = open_log_file(filename);
-		if (!(general_options & OPT_GEN_STRIP_HTML))
+		if (!(logging_options & OPT_LOG_STRIP_HTML))
 			fprintf(fd,
 				"<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n",
 				full_date());