diff options
Diffstat (limited to 'src/core/hook/wee-hook-info-hashtable.c')
-rw-r--r-- | src/core/hook/wee-hook-info-hashtable.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hook/wee-hook-info-hashtable.c b/src/core/hook/wee-hook-info-hashtable.c index a55e6aa61..3665276a7 100644 --- a/src/core/hook/wee-hook-info-hashtable.c +++ b/src/core/hook/wee-hook-info-hashtable.c @@ -77,7 +77,8 @@ hook_info_hashtable (struct t_weechat_plugin *plugin, const char *info_name, return NULL; } - hook_get_priority_and_name (info_name, &priority, &ptr_info_name); + string_get_priority_and_name (info_name, &priority, &ptr_info_name, + HOOK_PRIORITY_DEFAULT); hook_init_data (new_hook, plugin, HOOK_TYPE_INFO_HASHTABLE, priority, callback_pointer, callback_data); |