{
command_fail(hdata->si, fault_noprivs, _("Sorry, we do not accept registrations with email addresses from that domain. Use another address."));
hdata->approved = 1;
- slog(LG_INFO, "REGISTER:BADEMAIL: %s to \2%s\2 by \2%s\2",
+ slog(LG_INFO, "REGISTER:BADEMAIL: %s to \2%s\2 by \2%s\2 (%s)",
hdata->account, hdata->email,
- hdata->si->su != NULL ? hdata->si->su->nick : get_source_name(hdata->si));
+ hdata->si->su != NULL ? hdata->si->su->nick : get_source_name(hdata->si),
+ l->reason);
return;
}
}