summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-07-16 20:51:23 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-07-16 20:51:23 +0200
commite29cb9a85afac41641484d6e406f33528f2ef551 (patch)
tree19a5f942540504b7a07c13e9be54f64008e949a4
parent80872061c273064dcc71d8612eaa6feae78ac246 (diff)
downloadweechat-e29cb9a85afac41641484d6e406f33528f2ef551.zip
core: fix comment in function hook_find_pos
-rw-r--r--src/core/wee-hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c
index 161211224..f6bbdc097 100644
--- a/src/core/wee-hook.c
+++ b/src/core/wee-hook.c
@@ -136,7 +136,7 @@ hook_find_pos (struct t_hook *hook)
if (hook->type == HOOK_TYPE_COMMAND)
{
- /* for command hook, sort on command name */
+ /* for command hook, sort on command name + priority */
for (ptr_hook = weechat_hooks[hook->type]; ptr_hook;
ptr_hook = ptr_hook->next_hook)
{