summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 85b9072d0..a6f616357 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -6796,10 +6796,10 @@ void handle_link_packet(char* udp_msg, char* udp_host, serverrec *serv)
if (!strcasecmp(servers[j]->name,udp_host))
{
strcpy(servers[j]->description,serverdesc);
- DoSync(serv,udp_host);
- char buffer[MAXBUF];
sprintf(buffer,"X 0");
serv->SendPacket(buffer,udp_host);
+ DoSync(serv,udp_host);
+ char buffer[MAXBUF];
return;
}
}