From f14bcab7bc8dd270e1e5b54426525760584f13c7 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 1 Apr 2008 15:44:55 -0500 Subject: [PATCH] patricia stuff --- src/class.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/class.c b/src/class.c index fa3f97e..878e694 100644 --- a/src/class.c +++ b/src/class.c @@ -38,7 +38,6 @@ #include "send.h" #include "irc_string.h" #include "memory.h" -#include "patricia.h" #define BAD_CONF_CLASS -1 #define BAD_PING -2 @@ -59,7 +58,7 @@ make_class(void) MaxUsers(tmp) = 1; MaxSendq(tmp) = DEFAULT_SENDQ; - tmp->ip_limits = New_Patricia(PATRICIA_BITS); + tmp->ip_limits = rb_new_patricia(PATRICIA_BITS); return tmp; } @@ -67,7 +66,7 @@ void free_class(struct Class *tmp) { if(tmp->ip_limits) - Destroy_Patricia(tmp->ip_limits, NULL); + rb_destroy_patricia(tmp->ip_limits, NULL); MyFree(tmp->class_name); MyFree(tmp);