mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 17:53:13 +02:00
Added infolist "window", scroll in buffers with free content, fixed config hooks (use of string_match)
This commit is contained in:
+1
-2
@@ -990,8 +990,7 @@ hook_config_exec (char *option, char *value)
|
||||
if (!ptr_hook->deleted
|
||||
&& !ptr_hook->running
|
||||
&& (!HOOK_CONFIG(ptr_hook, option)
|
||||
|| (string_strcasecmp (HOOK_CONFIG(ptr_hook, option),
|
||||
option) == 0)))
|
||||
|| (string_match (option, HOOK_CONFIG(ptr_hook, option), 0))))
|
||||
{
|
||||
ptr_hook->running = 1;
|
||||
(void) (HOOK_CONFIG(ptr_hook, callback))
|
||||
|
||||
Reference in New Issue
Block a user