summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commands.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 68ef9862f..d2678e2b9 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -3260,6 +3260,7 @@ void handle_link_packet(char* tcp_msg, char* tcp_host, serverrec *serv,char* tcp
char* params = tcp_msg + 2;
char finalparam[1024];
+ char buffer[MAXBUF];
strcpy(finalparam," :xxxx");
if (strstr(tcp_msg," :")) {
strlcpy(finalparam,strstr(tcp_msg," :"),1024);