X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/08d11e34cc17e3045231729d87025a0cfa598f54..ca89e98e0309a81155c0690cf0a516f75e285929:/modules/m_rehash.c diff --git a/modules/m_rehash.c b/modules/m_rehash.c index 1a88201..672e5b7 100644 --- a/modules/m_rehash.c +++ b/modules/m_rehash.c @@ -36,7 +36,7 @@ #include "res.h" #include "s_conf.h" #include "s_newconf.h" -#include "s_log.h" +#include "logger.h" #include "send.h" #include "msg.h" #include "parse.h" @@ -118,7 +118,7 @@ rehash_glines(struct Client *source_p) aconf = ptr->data; delete_one_address_conf(aconf->host, aconf); - dlinkDestroy(ptr, &glines); + rb_dlinkDestroy(ptr, &glines); } } @@ -136,10 +136,10 @@ rehash_pglines(struct Client *source_p) { glp_ptr = ptr->data; - MyFree(glp_ptr->reason1); - MyFree(glp_ptr->reason2); - MyFree(glp_ptr); - dlinkDestroy(ptr, &pending_glines); + rb_free(glp_ptr->reason1); + rb_free(glp_ptr->reason2); + rb_free(glp_ptr); + rb_dlinkDestroy(ptr, &pending_glines); } } @@ -160,7 +160,7 @@ rehash_tklines(struct Client *source_p) aconf = ptr->data; delete_one_address_conf(aconf->host, aconf); - dlinkDestroy(ptr, &temp_klines[i]); + rb_dlinkDestroy(ptr, &temp_klines[i]); } } } @@ -182,7 +182,7 @@ rehash_tdlines(struct Client *source_p) aconf = ptr->data; delete_one_address_conf(aconf->host, aconf); - dlinkDestroy(ptr, &temp_dlines[i]); + rb_dlinkDestroy(ptr, &temp_dlines[i]); } } } @@ -205,7 +205,7 @@ rehash_txlines(struct Client *source_p) continue; free_conf(aconf); - dlinkDestroy(ptr, &xline_conf_list); + rb_dlinkDestroy(ptr, &xline_conf_list); } } @@ -228,7 +228,7 @@ rehash_tresvs(struct Client *source_p) continue; free_conf(aconf); - dlinkDestroy(ptr, &resvTable[i]); + rb_dlinkDestroy(ptr, &resvTable[i]); } HASH_WALK_END @@ -240,7 +240,7 @@ rehash_tresvs(struct Client *source_p) continue; free_conf(aconf); - dlinkDestroy(ptr, &resv_conf_list); + rb_dlinkDestroy(ptr, &resv_conf_list); } }