]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/hook.c
macro replacement
[irc/rqf/shadowircd.git] / src / hook.c
index b6873e06b312a0d1f3644165bd64e65379dbbbd3..69ce520a9e24eeaa61119a48cba7de30ed5ca082 100644 (file)
@@ -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);