X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/af81d5a0b09446188fd6f9c292b51519f2c1cedd..8e69bb4e903f428b14e2950cce9be39dc8ddd12c:/src/hook.c?ds=sidebyside diff --git a/src/hook.c b/src/hook.c index b6873e0..69ce520 100644 --- a/src/hook.c +++ b/src/hook.c @@ -205,7 +205,7 @@ call_hook(int id, void *arg) /* The ID we were passed is the position in the hook table of this * hook */ - DLINK_FOREACH(ptr, hooks[id].hooks.head) + RB_DLINK_FOREACH(ptr, hooks[id].hooks.head) { fn = ptr->data; fn(arg);