summaryrefslogtreecommitdiff
path: root/src/plugins/logger/logger-buffer.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-02 18:54:25 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-02 18:54:25 +0100
commit6e69f7f3ce22bf5537b1e02088b95352d04ec5cc (patch)
treeb041426d6c655c4ba1c03d1a19a175d4b130a2b3 /src/plugins/logger/logger-buffer.c
parent640ff6b51c249b44c382eb92c03dafbfb482bc91 (diff)
downloadweechat-6e69f7f3ce22bf5537b1e02088b95352d04ec5cc.zip
Remove debug plugin (merged to core), new debug variable for each plugin (no more signals for setting debug)
Diffstat (limited to 'src/plugins/logger/logger-buffer.c')
-rw-r--r--src/plugins/logger/logger-buffer.c4
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\"",