X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/21c9d815d7293b2fa7e531e8f9f69db2e3399554..bcd8cc02e12c429c670408c24ddbbaf1186c76d1:/src/class.c diff --git a/src/class.c b/src/class.c index 3810d53..4b4769e 100644 --- a/src/class.c +++ b/src/class.c @@ -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;