]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_rehash.c
.cvsignore files removed, SVN-Access replaced by Mercurial-Access
[irc/rqf/shadowircd.git] / modules / m_rehash.c
index 1a88201e364d6e696b7c260fb232e1ab605935c9..672e5b7b93d68bd14357a9c56e812d4903ef978b 100644 (file)
@@ -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);
        }
 }