1
0
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:
Sebastien Helleu
2008-04-17 17:59:27 +02:00
parent 62bcf75851
commit e349ae491a
8 changed files with 387 additions and 114 deletions
+1 -2
View File
@@ -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))