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:
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user