summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index a6f616357..4625de11b 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -6795,11 +6795,11 @@ void handle_link_packet(char* udp_msg, char* udp_host, serverrec *serv)
{
if (!strcasecmp(servers[j]->name,udp_host))
{
+ char buffer[MAXBUF];
strcpy(servers[j]->description,serverdesc);
sprintf(buffer,"X 0");
serv->SendPacket(buffer,udp_host);
DoSync(serv,udp_host);
- char buffer[MAXBUF];
return;
}
}