mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 23:10:54 +01:00
reject_client: send back ident and hostname with rejection.
At the moment (possibly not in the future) ircd will want to override our decision whether or not to accept a client; we need to give them enough information back to ensure they can do it properly.
This commit is contained in:
parent
a21a82b1b6
commit
ee658821e3
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ void reject_client(struct auth_client *auth, provider_t id, const char *reason)
|
|||
}
|
||||
|
||||
/* TODO send back ident */
|
||||
rb_helper_write(authd_helper, "R %x %c :%s", auth->cid, reject, reason);
|
||||
rb_helper_write(authd_helper, "R %x %c %s %s :%s", auth->cid, reject, auth->username, auth->hostname, reason);
|
||||
|
||||
set_provider_off(auth, id);
|
||||
cancel_providers(auth);
|
||||
|
|
Loading…
Reference in a new issue