]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/supported.c
update CREDITS a little.
[irc/rqf/shadowircd.git] / src / supported.c
index 8066c7f98bf5c5902417859ca2c86a535684220e..001a19201b55787ee921ed9f5e98c86b9e33b2af 100644 (file)
@@ -81,7 +81,6 @@
  */
 
 #include "stdinc.h"
-#include "tools.h"
 #include "client.h"
 #include "common.h"
 #include "numeric.h"
@@ -104,7 +103,7 @@ add_isupport(const char *name, const char *(*func)(const void *), const void *pa
 {
        struct isupportitem *item;
 
-       item = MyMalloc(sizeof(struct isupportitem));
+       item = rb_malloc(sizeof(struct isupportitem));
        item->name = name;
        item->func = func;
        item->param = param;
@@ -124,7 +123,7 @@ delete_isupport(const char *name)
                if (!strcmp(item->name, name))
                {
                        rb_dlinkDelete(ptr, &isupportlist);
-                       MyFree(item);
+                       rb_free(item);
                }
        }
 }