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
0a70e15066
commit
f037fff482
|
@ -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 New Issue