mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Fixes to prevent potential loop
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@576 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
db720cbee0
commit
79147c016f
@ -6676,9 +6676,12 @@ void process_restricted_commands(char token,char* params,serverrec* source,serve
|
||||
case 'F':
|
||||
WriteOpers("Server %s has completed netburst. (%d secs)",udp_host,time(NULL)-nb_start);
|
||||
handle_F(token,params,source,reply,udp_host);
|
||||
break;
|
||||
case 'X':
|
||||
WriteOpers("Sending my netburst to %s",udp_host);
|
||||
DoSync(source,udp_host);
|
||||
WriteOpers("Send of netburst to %s completed",udp_host);
|
||||
|
||||
break;
|
||||
// anything else
|
||||
default:
|
||||
@ -6791,8 +6794,8 @@ void handle_link_packet(char* udp_msg, char* udp_host, serverrec *serv)
|
||||
if (!strcasecmp(servers[j]->name,udp_host))
|
||||
{
|
||||
strcpy(servers[j]->description,serverdesc);
|
||||
WriteOpers("Server %s authenticated, exchanging server keys...",servername);
|
||||
DoSync(serv,udp_host);
|
||||
Serv->SendPacket("X",udp_host);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user