diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-14 18:20:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-14 18:20:33 +0000 |
commit | 79147c016f0922df64d0e5e2deb3fe4c2747211b (patch) | |
tree | 830e6230542c157ad78ba553adbc5ff14d2926e3 /src/inspircd.cpp | |
parent | db720cbee07cd93f2e59f8657cdd4baa1681c8a9 (diff) |
Fixes to prevent potential loop
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@576 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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; } } |