comparison mcabber/src/histolog.c @ 1144:b8f5fe2d666a

Add option "logging_ignore_status"
author Mikael Berthe <mikael@lilotux.net>
date Tue, 06 Feb 2007 21:43:42 +0100
parents 5be2408a6534
children 3b9bbf6c4c93
comparison
equal deleted inserted replaced
1143:d48822e6586b 1144:b8f5fe2d666a
75 int err; 75 int err;
76 76
77 if (!UseFileLogging) 77 if (!UseFileLogging)
78 return; 78 return;
79 79
80 // Do not log status messages when 'logging_ignore_status' is set
81 if (type == 'S' && settings_opt_get_int("logging_ignore_status"))
82 return;
83
80 filename = user_histo_file(bjid); 84 filename = user_histo_file(bjid);
81 85
82 // If timestamp is null, get current date 86 // If timestamp is null, get current date
83 if (timestamp) 87 if (timestamp)
84 ts = timestamp; 88 ts = timestamp;