PASS selector:password for auth{}, based on spb's patch for ircd-seven
This commit is contained in:
parent
368c374ee6
commit
40c1fd4799
13 changed files with 99 additions and 47 deletions
|
@ -492,7 +492,7 @@ static void
|
|||
apply_kline(struct Client *source_p, struct ConfItem *aconf,
|
||||
const char *reason, const char *oper_reason, const char *current_date)
|
||||
{
|
||||
add_conf_by_address(aconf->host, CONF_KILL, aconf->user, aconf);
|
||||
add_conf_by_address(aconf->host, CONF_KILL, aconf->user, NULL, aconf);
|
||||
write_confitem(KLINE_TYPE, source_p, aconf->user, aconf->host,
|
||||
reason, oper_reason, current_date, 0);
|
||||
}
|
||||
|
@ -716,7 +716,7 @@ already_placed_kline(struct Client *source_p, const char *luser, const char *lho
|
|||
else
|
||||
piphost = NULL;
|
||||
|
||||
aconf = find_conf_by_address(lhost, NULL, NULL, (struct sockaddr *)piphost, CONF_KILL, t, luser);
|
||||
aconf = find_conf_by_address(lhost, NULL, NULL, (struct sockaddr *)piphost, CONF_KILL, t, luser, NULL);
|
||||
if (aconf != NULL)
|
||||
{
|
||||
/* The above was really a lookup of a single IP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue