]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/class.c
Fix some part of IPv6 dline checking.
[irc/rqf/shadowircd.git] / src / class.c
index 3810d53c3bfad95efa7ec9994dc28e15ddc50a94..4b4769eb82e4067845b6c267eefc805a935e16a5 100644 (file)
@@ -35,7 +35,7 @@
 #include "s_conf.h"
 #include "s_newconf.h"
 #include "send.h"
-#include "irc_string.h"
+#include "match.h"
 
 #define BAD_CONF_CLASS          -1
 #define BAD_PING                -2
@@ -49,7 +49,7 @@ make_class(void)
 {
        struct Class *tmp;
 
-       tmp = (struct Class *) rb_malloc(sizeof(struct Class));
+       tmp = rb_malloc(sizeof(struct Class));
 
        ConFreq(tmp) = DEFAULT_CONNECTFREQUENCY;
        PingFreq(tmp) = DEFAULT_PINGFREQUENCY;