1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00

Fix another bug with hook priority (for commands)

This commit is contained in:
Sebastien Helleu
2010-08-12 11:02:10 +02:00
parent c9f94e6f0a
commit 0890179398
+1 -1
View File
@@ -126,7 +126,7 @@ hook_find_pos (struct t_hook *hook)
HOOK_COMMAND(ptr_hook, command));
if (rc_cmp < 0)
return ptr_hook;
if ((rc_cmp == 0) && (hook->priority >= ptr_hook->priority))
if ((rc_cmp == 0) && (hook->priority > ptr_hook->priority))
return ptr_hook;
}
}