I'll get this chat system right eventually

This commit is contained in:
Andrew Pamment 2017-09-30 00:28:12 +10:00
parent 7ee4c14b05
commit c17e0e68c4

View File

@ -262,7 +262,7 @@ void chat_system(struct user_record *user) {
return; return;
} }
strncat(partmessage, readbuffer, 1024); strncat(partmessage, readbuffer, len);
strcpy(readbuffer, partmessage); strcpy(readbuffer, partmessage);
y = 0; y = 0;