* mr_webirc - webirc message handler
* parv[1] = password
* parv[2] = fake username (we ignore this)
- * parv[3] = fake hostname
+ * parv[3] = fake hostname
* parv[4] = fake ip
*/
static int
return 0;
}
- aconf = find_address_conf(client_p->host, client_p->sockhost,
+ aconf = find_address_conf(client_p->host, client_p->sockhost,
IsGotId(client_p) ? client_p->username : "webirc",
IsGotId(client_p) ? client_p->username : "webirc",
(struct sockaddr *) &client_p->localClient->ip,
source_p->localClient->ip = addr;
/* Check dlines now, klines will be checked on registration */
- if((aconf = find_dline((struct sockaddr *)&source_p->localClient->ip,
+ if((aconf = find_dline((struct sockaddr *)&source_p->localClient->ip,
source_p->localClient->ip.ss_family)))
{
if(!(aconf->status & CONF_EXEMPTDLINE))