/*
* mr_webirc - webirc message handler
- * parv[0] = sender prefix
* parv[1] = password
* parv[2] = fake username (we ignore this)
* parv[3] = fake hostname
client_p->localClient->ip.ss_family, NULL);
if (aconf == NULL || !(aconf->status & CONF_CLIENT))
return 0;
- if (!IsConfDoSpoofIp(aconf) || irccmp(aconf->name, "webirc."))
+ if (!IsConfDoSpoofIp(aconf) || irccmp(aconf->info.name, "webirc."))
{
/* XXX */
sendto_one(source_p, "NOTICE * :Not a CGI:IRC auth block");
if (EmptyString(parv[1]))
encr = "";
else if (IsConfEncrypted(aconf))
- encr = crypt(parv[1], aconf->passwd);
+ encr = rb_crypt(parv[1], aconf->passwd);
else
encr = parv[1];