changeset 5839:5e685e42931e

[gaim-migrate @ 6270] make those log prefs work again committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 12 Jun 2003 05:54:07 +0000
parents 6aa7651c7c15
children 8f5ccf9e590a
files src/log.c
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/log.c	Thu Jun 12 05:01:11 2003 +0000
+++ b/src/log.c	Thu Jun 12 05:54:07 2003 +0000
@@ -290,8 +290,14 @@
 
 	account = gaim_connection_get_account(gc);
 
-	if (((why & OPT_LOG_MY_SIGNON) &&
-		 !gaim_prefs_get_bool("/gaim/gtk/logging/log_own_states"))) {
+	if ((why & OPT_LOG_MY_SIGNON &&
+		 !gaim_prefs_get_bool("/gaim/gtk/logging/log_own_states")) ||
+			(why & OPT_LOG_BUDDY_SIGNON &&
+			 !gaim_prefs_get_bool("/gaim/gtk/logging/log_signon_signoff")) ||
+			(why & OPT_LOG_BUDDY_IDLE &&
+			 !gaim_prefs_get_bool("/gaim/gtk/logging/log_idle_state")) ||
+			(why & OPT_LOG_BUDDY_AWAY &&
+			 !gaim_prefs_get_bool("/gaim/gtk/logging/log_away_state"))) {
 
 		return;
 	}