]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/ip_cloaking.c
extensions compile without libcharybdis now.
[irc/rqf/shadowircd.git] / extensions / ip_cloaking.c
index 5b9c5f420f1c8e9a8dca2df5fe4e6e99c43267ad..1b5af63cefcdc6eb4b39d02ec554879e7fba4568 100644 (file)
@@ -9,7 +9,6 @@
 #include "s_conf.h"
 #include "s_user.h"
 #include "s_serv.h"
-#include "tools.h"
 #include "numeric.h"
 
 /* if you're modifying this module, you'll probably to change this */
@@ -204,7 +203,7 @@ check_new_user(void *vdata)
                source_p->umodes &= ~user_modes['h'];
                return;
        }
-       source_p->localClient->mangledhost = MyMalloc(HOSTLEN);
+       source_p->localClient->mangledhost = rb_malloc(HOSTLEN);
        if (!irccmp(source_p->orighost, source_p->sockhost))
                do_host_cloak_ip(source_p->orighost, source_p->localClient->mangledhost);
        else