fix a bug in chat system

This commit is contained in:
Andrew Pamment 2017-03-20 12:45:55 +10:00
parent d286381bac
commit 8098b016a3

View File

@ -137,7 +137,7 @@ void chat_system(struct user_record *user) {
int j; int j;
int chat_in; int chat_in;
jsmn_parser parser; jsmn_parser parser;
jsmntok_t tokens[6]; jsmntok_t tokens[8];
int r; int r;
struct chat_msg msg; struct chat_msg msg;
char *input_b; char *input_b;