]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_gline.c
Argh, wrong replace caused by MS VS 2005 interface.
[irc/rqf/shadowircd.git] / src / s_gline.c
index c64bfedc024f80b6b468fb1e799e102509b10805..8d7027b09e84aa513f7bd0e371e8eeecdbaebd9a 100644 (file)
@@ -25,7 +25,6 @@
  */
 
 #include "stdinc.h"
-#include "tools.h"
 #include "channel.h"
 #include "client.h"
 #include "common.h"
@@ -34,7 +33,6 @@
 #include "ircd.h"
 #include "hostmask.h"
 #include "numeric.h"
-#include "commio.h"
 #include "s_conf.h"
 #include "scache.h"
 #include "send.h"
@@ -42,8 +40,6 @@
 #include "s_serv.h"
 #include "s_gline.h"
 #include "hash.h"
-#include "event.h"
-#include "memory.h"
 
 rb_dlink_list glines;
 
@@ -158,9 +154,9 @@ expire_pending_glines()
                    CurrentTime) || find_is_glined(glp_ptr->host, glp_ptr->user))
 
                {
-                       MyFree(glp_ptr->reason1);
-                       MyFree(glp_ptr->reason2);
-                       MyFree(glp_ptr);
+                       rb_free(glp_ptr->reason1);
+                       rb_free(glp_ptr->reason2);
+                       rb_free(glp_ptr);
                        rb_dlinkDestroy(pending_node, &pending_glines);
                }
        }