ircd: Allow non-default CAP_MASK during server estab.
This commit is contained in:
parent
31145ea0b3
commit
ffedad8dfb
1 changed files with 2 additions and 2 deletions
|
@ -826,7 +826,7 @@ server_estab(struct Client *client_p)
|
||||||
EmptyString(server_p->spasswd) ? "*" : server_p->spasswd, TS_CURRENT, me.id);
|
EmptyString(server_p->spasswd) ? "*" : server_p->spasswd, TS_CURRENT, me.id);
|
||||||
|
|
||||||
/* pass info to new server */
|
/* pass info to new server */
|
||||||
send_capabilities(client_p, default_server_capabs
|
send_capabilities(client_p, default_server_capabs | CAP_MASK
|
||||||
| (ServerConfCompressed(server_p) ? CAP_ZIP_SUPPORTED : 0)
|
| (ServerConfCompressed(server_p) ? CAP_ZIP_SUPPORTED : 0)
|
||||||
| (ServerConfTb(server_p) ? CAP_TB : 0));
|
| (ServerConfTb(server_p) ? CAP_TB : 0));
|
||||||
|
|
||||||
|
@ -1294,7 +1294,7 @@ serv_connect_callback(rb_fde_t *F, int status, void *data)
|
||||||
EmptyString(server_p->spasswd) ? "*" : server_p->spasswd, TS_CURRENT, me.id);
|
EmptyString(server_p->spasswd) ? "*" : server_p->spasswd, TS_CURRENT, me.id);
|
||||||
|
|
||||||
/* pass my info to the new server */
|
/* pass my info to the new server */
|
||||||
send_capabilities(client_p, default_server_capabs
|
send_capabilities(client_p, default_server_capabs | CAP_MASK
|
||||||
| (ServerConfCompressed(server_p) ? CAP_ZIP_SUPPORTED : 0)
|
| (ServerConfCompressed(server_p) ? CAP_ZIP_SUPPORTED : 0)
|
||||||
| (ServerConfTb(server_p) ? CAP_TB : 0));
|
| (ServerConfTb(server_p) ? CAP_TB : 0));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue