diff options
Diffstat (limited to 'src/plugins/buflist/buflist.c')
-rw-r--r-- | src/plugins/buflist/buflist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/buflist/buflist.c b/src/plugins/buflist/buflist.c index 97d33387c..404842687 100644 --- a/src/plugins/buflist/buflist.c +++ b/src/plugins/buflist/buflist.c @@ -370,6 +370,10 @@ buflist_script_loaded_cb (const void *pointer, void *data, const char *signal, (void) signal; (void) type_data; + /* display a warning only if buflist is enabled */ + if (!weechat_config_boolean (buflist_config_look_enabled)) + return WEECHAT_RC_OK; + if (!signal_data) return WEECHAT_RC_OK; |