comparison src/log.c @ 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 dae79aefac8d
children 059d95c67cda
comparison
equal deleted inserted replaced
5838:6aa7651c7c15 5839:5e685e42931e
288 FILE *fd; 288 FILE *fd;
289 char text[256], html[256]; 289 char text[256], html[256];
290 290
291 account = gaim_connection_get_account(gc); 291 account = gaim_connection_get_account(gc);
292 292
293 if (((why & OPT_LOG_MY_SIGNON) && 293 if ((why & OPT_LOG_MY_SIGNON &&
294 !gaim_prefs_get_bool("/gaim/gtk/logging/log_own_states"))) { 294 !gaim_prefs_get_bool("/gaim/gtk/logging/log_own_states")) ||
295 (why & OPT_LOG_BUDDY_SIGNON &&
296 !gaim_prefs_get_bool("/gaim/gtk/logging/log_signon_signoff")) ||
297 (why & OPT_LOG_BUDDY_IDLE &&
298 !gaim_prefs_get_bool("/gaim/gtk/logging/log_idle_state")) ||
299 (why & OPT_LOG_BUDDY_AWAY &&
300 !gaim_prefs_get_bool("/gaim/gtk/logging/log_away_state"))) {
295 301
296 return; 302 return;
297 } 303 }
298 304
299 if (gaim_prefs_get_bool("/gaim/gtk/logging/individual_logs")) { 305 if (gaim_prefs_get_bool("/gaim/gtk/logging/individual_logs")) {