diff options
Diffstat (limited to 'src/core/hook/wee-hook-hsignal.c')
-rw-r--r-- | src/core/hook/wee-hook-hsignal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hook/wee-hook-hsignal.c b/src/core/hook/wee-hook-hsignal.c index de6e36289..1ed01f8b5 100644 --- a/src/core/hook/wee-hook-hsignal.c +++ b/src/core/hook/wee-hook-hsignal.c @@ -77,7 +77,8 @@ hook_hsignal (struct t_weechat_plugin *plugin, const char *signal, return NULL; } - hook_get_priority_and_name (signal, &priority, &ptr_signal); + string_get_priority_and_name (signal, &priority, &ptr_signal, + HOOK_PRIORITY_DEFAULT); hook_init_data (new_hook, plugin, HOOK_TYPE_HSIGNAL, priority, callback_pointer, callback_data); |