From 79147c016f0922df64d0e5e2deb3fe4c2747211b Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Apr 2004 18:20:33 +0000 Subject: Fixes to prevent potential loop git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@576 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 7b4becedf..9979c7c07 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -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; } } -- cgit v1.2.3