diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-07-19 09:37:25 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-07-19 09:37:25 +0200 |
commit | 8218151c31d2cf85c8e50cbed31c04c9d25c41cf (patch) | |
tree | a8da41c229b9c3cedf171a673db4b17a21fa4403 /src/plugins/logger | |
parent | 103b627c1d3ef7d1e29cb37aa7fdb676dbfceee0 (diff) | |
download | weechat-8218151c31d2cf85c8e50cbed31c04c9d25c41cf.zip |
Fix problem with logging of lines "Day changed to" (not logged any more to file) (bug #23886)
Diffstat (limited to 'src/plugins/logger')
-rw-r--r-- | src/plugins/logger/logger.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/logger/logger.c b/src/plugins/logger/logger.c index 5f6979a27..626ca7056 100644 --- a/src/plugins/logger/logger.c +++ b/src/plugins/logger/logger.c @@ -679,7 +679,8 @@ logger_print_cb (void *data, struct t_gui_buffer *buffer, time_t date, ptr_logger_buffer = logger_buffer_search (buffer); if (ptr_logger_buffer && ptr_logger_buffer->log_filename - && ptr_logger_buffer->log_enabled) + && ptr_logger_buffer->log_enabled + && (date > 0)) { date_tmp = localtime (&date); buf_time[0] = '\0'; |