diff options
Diffstat (limited to 'src/plugins/logger/logger-buffer.c')
-rw-r--r-- | src/plugins/logger/logger-buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/logger/logger-buffer.c b/src/plugins/logger/logger-buffer.c index bada5e47c..dfe3bfdb3 100644 --- a/src/plugins/logger/logger-buffer.c +++ b/src/plugins/logger/logger-buffer.c @@ -73,7 +73,7 @@ logger_buffer_add (struct t_gui_buffer *buffer, int log_level) if (!buffer) return NULL; - if (logger_debug) + if (weechat_logger_plugin->debug) { weechat_printf (NULL, "%s: start logging for buffer \"%s\"", @@ -157,7 +157,7 @@ logger_buffer_free (struct t_logger_buffer *logger_buffer) { struct t_logger_buffer *new_logger_buffers; - if (logger_debug) + if (weechat_logger_plugin->debug) { weechat_printf (NULL, "%s: stop logging for buffer \"%s\"", |