diff src/conversation.c @ 7553:7d95978b07d9

[gaim-migrate @ 8167] Logginations committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 18 Nov 2003 04:39:50 +0000
parents a899742289c2
children cdfdbabd3266
line wrap: on
line diff
--- a/src/conversation.c	Tue Nov 18 04:01:23 2003 +0000
+++ b/src/conversation.c	Tue Nov 18 04:39:50 2003 +0000
@@ -807,7 +807,8 @@
 	conv->history      = g_string_new("");
 	conv->data         = g_hash_table_new_full(g_str_hash, g_str_equal,
 											   g_free, NULL);
-	conv->log          = gaim_log_new(GAIM_LOG_IM, name, account, time(NULL));
+	conv->log          = gaim_log_new(type == GAIM_CONV_IM ? GAIM_LOG_IM :
+					  type == GAIM_CONV_CHAT ? GAIM_LOG_CHAT : GAIM_LOG_IM, name, account, time(NULL));
 
 
 	if (type == GAIM_CONV_IM)