changeset 11014:8d67f04911d6

[gaim-migrate @ 12881] log this! committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 17 Jun 2005 13:09:29 +0000
parents 7653143dec36
children 45ceaa1ccc6e
files src/account.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/account.c	Fri Jun 17 07:37:35 2005 +0000
+++ b/src/account.c	Fri Jun 17 13:09:29 2005 +0000
@@ -1635,7 +1635,7 @@
 
 		account->system_log	 = gaim_log_new(GAIM_LOG_SYSTEM,
 				gaim_account_get_username(account), account,
-				gc != NULL ? gc->login_time : time(NULL));
+				(gc != NULL && gc->login_time != 0) ? gc->login_time : time(NULL));
 	}
 
 	return account->system_log;