mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 11:43:13 +02:00
buflist: display the warning about script buffers.pl only if buflist is enabled
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user