diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-17 17:59:27 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-17 17:59:27 +0200 |
commit | e349ae491a9ce9bebd38b14e41c95aabe694a7ed (patch) | |
tree | ef15cbc2c558b52bc71da95ac92a23f819270b83 /src/core | |
parent | 62bcf75851fbf10e4b8307ce96592ca8392f78dc (diff) | |
download | weechat-e349ae491a9ce9bebd38b14e41c95aabe694a7ed.zip |
Added infolist "window", scroll in buffers with free content, fixed config hooks (use of string_match)
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-hook.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c index ec0227911..a9f43f990 100644 --- a/src/core/wee-hook.c +++ b/src/core/wee-hook.c @@ -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)) |