Add an additional check to mr_server() for TS6, in case we don't get an SVINFO
from ircd-ratbox (anfl)
This commit is contained in:
parent
8afeb72097
commit
316cbf11bc
1 changed files with 9 additions and 0 deletions
|
@ -184,6 +184,15 @@ mr_server(struct Client *client_p, struct Client *source_p, int parc, const char
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* require TS6 for direct links */
|
||||
if(!IsCapable(client_p, CAP_TS6))
|
||||
{
|
||||
sendto_realops_snomask(SNO_GENERAL, is_remote_connect(client_p) ? L_NETWIDE : L_ALL,
|
||||
"Link %s dropped, TS6 protocol is required", name);
|
||||
exit_client(client_p, client_p, client_p, "Incompatible TS version");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if((target_p = find_server(NULL, name)))
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue