]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_resv.c
Change over some dlink functions.
[irc/rqf/shadowircd.git] / modules / m_resv.c
index 84a0183dfb1db57c44678de21b6942a5a6dcaaa8..d1e11fccf7fa0ae5e883eb322ffb8b6ec3c6913c 100644 (file)
@@ -516,7 +516,7 @@ remove_resv(struct Client *source_p, const char *name)
                        ilog(L_KLINE, "UR %s %s", get_oper_name(source_p), name);
                }
                /* already have ptr from the loop above.. */
-               dlinkDestroy(ptr, &resv_conf_list);
+               rb_dlinkDestroy(ptr, &resv_conf_list);
        }
        free_conf(aconf);
 
@@ -544,7 +544,7 @@ remove_resv_from_file(struct Client *source_p, const char *name)
        int error_on_write = 0;
        int found_resv = 0;
 
-       ircsprintf(temppath, "%s.tmp", ConfigFileEntry.resvfile);
+       rb_sprintf(temppath, "%s.tmp", ConfigFileEntry.resvfile);
        filename = get_conf_name(RESV_TYPE);
 
        if((in = fopen(filename, "r")) == NULL)