]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/core/m_nick.c
Argh, wrong replace caused by MS VS 2005 interface.
[irc/rqf/shadowircd.git] / modules / core / m_nick.c
index 27c9f9be11a2c6b2dee6e111f51aa96e386dcbd7..b8b6771e524be8e03b09ea6f3630c9054cf9345e 100644 (file)
@@ -759,7 +759,7 @@ change_local_nick(struct Client *client_p, struct Client *source_p,
                char *nick, int dosend)
 {
        struct Client *target_p;
-       rb_dlink_node *ptr, *rb_free(;
+       rb_dlink_node *ptr, *next_ptr;
        struct Channel *chptr;
        char note[NICKLEN + 10];
        int samenick;
@@ -843,7 +843,7 @@ change_local_nick(struct Client *client_p, struct Client *source_p,
         * to clear a clients own list of accepted clients.  So just remove
         * them from everyone elses list --anfl
         */
-       RB_DLINK_FOREACH_SAFE(ptr, rb_free(, source_p->on_allow_list.head)
+       RB_DLINK_FOREACH_SAFE(ptr, next_ptr, source_p->on_allow_list.head)
        {
                target_p = ptr->data;