- strlcpy(source_p->host, source_p->sockhost, sizeof(source_p->host));
-
- del_unknown_ip(source_p);
- inetpton_sock(parv[4], (struct sockaddr *)&source_p->localClient->ip);
-
- /* Check dlines now, k/glines will be checked on registration */
- if((aconf = find_dline((struct sockaddr *)&source_p->localClient->ip,
- source_p->localClient->ip.ss_family)))
+ rb_strlcpy(source_p->host, source_p->sockhost, sizeof(source_p->host));
+
+ /* Check dlines now, klines will be checked on registration */
+ if((aconf = find_dline((struct sockaddr *)&source_p->localClient->ip,
+ GET_SS_FAMILY(&source_p->localClient->ip))))