]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/class.c
Argh, wrong replace caused by MS VS 2005 interface.
[irc/rqf/shadowircd.git] / src / class.c
index 878e694d6cea674e84edd5ce135e5de4e33d1f8e..106d1468bf41ef4c7ee957c81e7b90bb3a4954f0 100644 (file)
@@ -27,7 +27,6 @@
 #include "stdinc.h"
 #include "config.h"
 
-#include "tools.h"
 #include "class.h"
 #include "client.h"
 #include "common.h"
@@ -37,7 +36,6 @@
 #include "s_newconf.h"
 #include "send.h"
 #include "irc_string.h"
-#include "memory.h"
 
 #define BAD_CONF_CLASS          -1
 #define BAD_PING                -2
@@ -68,8 +66,8 @@ free_class(struct Class *tmp)
        if(tmp->ip_limits)
                rb_destroy_patricia(tmp->ip_limits, NULL);
 
-       MyFree(tmp->class_name);
-       MyFree(tmp);
+       rb_free(tmp->class_name);
+       rb_free(tmp);
 
 }