]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/hostmask.c
Remove check that cannot happen due to minparc in Message struct.
[irc/rqf/shadowircd.git] / src / hostmask.c
index a0a193d5c7375f26b39c12c1e913aa1b1c3fdfa6..d02404882ce8cc0de294885dc092e4d211003d74 100644 (file)
@@ -446,7 +446,6 @@ find_exact_conf_by_address(const char *address, int type, const char *username)
 
        if(address == NULL)
                address = "/NOMATCH!/";
-       arec = rb_malloc(sizeof(struct AddressRec));
        masktype = parse_netmask(address, (struct sockaddr *)&addr, &bits);
 #ifdef RB_IPV6
        if(masktype == HM_IPV6)